Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.makumba.providers.query.hql
Class MddObjectType

    java.lang.Object
      org.makumba.providers.query.hql.MddObjectType

All Implemented Interfaces:
  ObjectType

    public class MddObjectType

extends Object
implements ObjectType

Constructor Summary
`MddObjectType()`

Method Summary
`Object` | `determineType(String type, String field)` Based on a type name and a field name, this method attempts to return the type of the field
`int` | `getTypeOf(Object descriptor)` given a type descriptor, resolve it to an integer for type analysis

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MddObjectType

    public MddObjectType()

Method Detail

### determineType

    public Object determineType(String type,
                                String field)
                         throws antlr.RecognitionException,
                                antlr.SemanticException

  Based on a type name and a field name, this method attempts to return the type of the field

  Specified by:
    `determineType` in interface `ObjectType`
  Parameters:
    `type` - the type name, e.g. "general.Person"
    `field` - the field name, e.g. "age"
  Returns:
    the type of the field, if it could be computed
  Throws:
    `antlr.RecognitionException`
    `antlr.SemanticException`

### getTypeOf

    public int getTypeOf(Object descriptor)

  given a type descriptor, resolve it to an integer for type analysis

  Specified by:
    `getTypeOf` in interface `ObjectType`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Docs generated on 2009-02-25 14:20