|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MappingConsumer
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 |
|---|
static final int MAPPING_TYPE_VERSION
static final int MAPPING_TYPE_DATASTORE_ID
static final int MAPPING_TYPE_DISCRIMINATOR
static final int MAPPING_TYPE_EXTERNAL_INDEX
static final int MAPPING_TYPE_EXTERNAL_FK
| Method Detail |
|---|
void preConsumeMapping(int highestFieldNumber)
highestFieldNumber - the highest number for the fields that are going to be provided in the consumer
void consumeMapping(JavaTypeMapping m,
AbstractPropertyMetaData fmd)
m - The Java type mappingfmd - Field MetaData for the field
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 | |||||||||