org.makumba.providers.query.hql
Interface ObjectType

All Known Implementing Classes:
HibernateObjectType, MddObjectType

public interface ObjectType


Method Summary
 Object determineType(String type, String field)
          for composite types return a String with the type name, for simple types return a descriptor object if field is null, the method should return the type if it is a valid type, null otherwise.
 int getTypeOf(Object descriptor)
          given a type descriptor, resolve it to an integer for type analysis
 

Method Detail

determineType

Object determineType(String type,
                     String field)
                     throws antlr.RecognitionException
for composite types return a String with the type name, for simple types return a descriptor object if field is null, the method should return the type if it is a valid type, null otherwise.

Throws:
antlr.RecognitionException

getTypeOf

int getTypeOf(Object descriptor)
given a type descriptor, resolve it to an integer for type analysis