|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Consumer of mappings.
Field Summary | |
static int |
MAPPING_TYPE_DATASTORE_ID
mapping a field representing the id of a PC |
static int |
MAPPING_TYPE_DISCRIMINATOR
mapping a field representing the discriminator of a PC |
static int |
MAPPING_TYPE_EXTERNAL_FK
mapping a datastore column that is a FK for an external collection. |
static int |
MAPPING_TYPE_EXTERNAL_INDEX
mapping a datastore column that is an index for an external list. |
static int |
MAPPING_TYPE_VERSION
mapping a field representing the version of a PC |
Method Summary | |
void |
consumeMapping(JavaTypeMapping m,
AbstractPropertyMetaData fmd)
Consumes a mapping associated to a field |
void |
consumeMapping(JavaTypeMapping m,
int mappingType)
Consumes a mapping not associated to a field |
void |
preConsumeMapping(int highestFieldNumber)
This method is called before consuming the mappings |
Field Detail |
public static final int MAPPING_TYPE_VERSION
public static final int MAPPING_TYPE_DATASTORE_ID
public static final int MAPPING_TYPE_DISCRIMINATOR
public static final int MAPPING_TYPE_EXTERNAL_INDEX
public static final int MAPPING_TYPE_EXTERNAL_FK
Method Detail |
public void preConsumeMapping(int highestFieldNumber)
highestFieldNumber
- the highest number for the fields that are going to be provided in the consumerpublic void consumeMapping(JavaTypeMapping m, AbstractPropertyMetaData fmd)
m
- The Java type mappingfmd
- Field MetaData for the fieldpublic void consumeMapping(JavaTypeMapping m, int mappingType)
m
- Java type mappingmappingType
- the Mapping type
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |