|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.metadata.DefaultMetaDataFactory
public class DefaultMetaDataFactory
Default implementation of MetaDataFactory.
| Constructor Summary | |
|---|---|
DefaultMetaDataFactory()
|
|
| Method Summary | |
|---|---|
ClassMetaData |
newClassObject(PackageMetaData pmd,
java.lang.String name,
java.lang.String identityType,
java.lang.String objectidClass,
java.lang.String requiresExtent,
java.lang.String detachable,
java.lang.String embeddedOnly,
java.lang.String modifier,
java.lang.String persistenceCapableSuperclass,
java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String entityName)
Constructor for a ClassMetaData. |
FieldMetaData |
newFieldObject(MetaData md,
AbstractMemberMetaData referenceFmd)
Method to create a new field object copying from the supplied field |
FieldMetaData |
newFieldObject(MetaData md,
java.lang.String name,
java.lang.String pk,
java.lang.String modifier,
java.lang.String defaultFetchGroup,
java.lang.String nullValue,
java.lang.String embedded,
java.lang.String serialized,
java.lang.String dependent,
java.lang.String mappedBy,
java.lang.String column,
java.lang.String table,
java.lang.String catalog,
java.lang.String schema,
java.lang.String deleteAction,
java.lang.String indexed,
java.lang.String unique,
java.lang.String recursionDepth,
java.lang.String loadFetchGroup,
java.lang.String valueStrategy,
java.lang.String sequence,
java.lang.String fieldType)
Constructor for a FieldMetaData. |
InterfaceMetaData |
newInterfaceObject(PackageMetaData pmd,
java.lang.String name,
java.lang.String identityType,
java.lang.String objectidClass,
java.lang.String requiresExtent,
java.lang.String detachable,
java.lang.String embeddedOnly,
java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String entityName)
Constructor for an InterfaceMetaData. |
PropertyMetaData |
newPropertyObject(MetaData md,
PropertyMetaData referencePmd)
Method to create a new property object copying from the supplied object. |
PropertyMetaData |
newPropertyObject(MetaData md,
java.lang.String name,
java.lang.String pk,
java.lang.String modifier,
java.lang.String defaultFetchGroup,
java.lang.String nullValue,
java.lang.String embedded,
java.lang.String serialized,
java.lang.String dependent,
java.lang.String mappedBy,
java.lang.String column,
java.lang.String table,
java.lang.String catalog,
java.lang.String schema,
java.lang.String deleteAction,
java.lang.String indexed,
java.lang.String unique,
java.lang.String recursionDepth,
java.lang.String loadFetchGroup,
java.lang.String valueStrategy,
java.lang.String sequence,
java.lang.String fieldType,
java.lang.String fieldName)
Constructor for a PropertyMetaData. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMetaDataFactory()
| Method Detail |
|---|
public ClassMetaData newClassObject(PackageMetaData pmd,
java.lang.String name,
java.lang.String identityType,
java.lang.String objectidClass,
java.lang.String requiresExtent,
java.lang.String detachable,
java.lang.String embeddedOnly,
java.lang.String modifier,
java.lang.String persistenceCapableSuperclass,
java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String entityName)
newClassObject in interface MetaDataFactorypmd - MetaData for the package that this class belongs toname - Name of classidentityType - Type of identityobjectidClass - Class of the object idrequiresExtent - Whether the class requires an extentdetachable - Whether this is detachableembeddedOnly - embedded-only tagmodifier - persistence modifier for the classpersistenceCapableSuperclass - PC superclass (optional)catalog - Name for catalogschema - Name for schematable - Name of the table where to persist objects of this typeentityName - the entity name required by JPA §4.3.1
public FieldMetaData newFieldObject(MetaData md,
java.lang.String name,
java.lang.String pk,
java.lang.String modifier,
java.lang.String defaultFetchGroup,
java.lang.String nullValue,
java.lang.String embedded,
java.lang.String serialized,
java.lang.String dependent,
java.lang.String mappedBy,
java.lang.String column,
java.lang.String table,
java.lang.String catalog,
java.lang.String schema,
java.lang.String deleteAction,
java.lang.String indexed,
java.lang.String unique,
java.lang.String recursionDepth,
java.lang.String loadFetchGroup,
java.lang.String valueStrategy,
java.lang.String sequence,
java.lang.String fieldType)
newFieldObject in interface MetaDataFactorymd - MetaData for the class that this field belongs toname - Name of the fieldpk - Whether it is a part of the PKmodifier - persistence-modifierdefaultFetchGroup - Whether it is in the DFGnullValue - Action on null value insertsembedded - Whether it is embeddedserialized - Whether it is serialiseddependent - Whether it is dependent for deletesmappedBy - Field in other class that it is mapped usingcolumn - Column name to store ittable - Table where it is storedcatalog - Catalog that the table is inschema - Schema that the table is indeleteAction - Any FK delete actionindexed - Whether it is indexedunique - Whether it is uniquerecursionDepth - Recursion depth to apply on fetch-plan operationsloadFetchGroup - Whether to load the fetch groupvalueStrategy - Strategy for generating values for this fieldsequence - Sequence name if the strategy is "sequence"fieldType - Type of the field
public FieldMetaData newFieldObject(MetaData md,
AbstractMemberMetaData referenceFmd)
newFieldObject in interface MetaDataFactorymd - Parent metadatareferenceFmd - The reference field
public PropertyMetaData newPropertyObject(MetaData md,
java.lang.String name,
java.lang.String pk,
java.lang.String modifier,
java.lang.String defaultFetchGroup,
java.lang.String nullValue,
java.lang.String embedded,
java.lang.String serialized,
java.lang.String dependent,
java.lang.String mappedBy,
java.lang.String column,
java.lang.String table,
java.lang.String catalog,
java.lang.String schema,
java.lang.String deleteAction,
java.lang.String indexed,
java.lang.String unique,
java.lang.String recursionDepth,
java.lang.String loadFetchGroup,
java.lang.String valueStrategy,
java.lang.String sequence,
java.lang.String fieldType,
java.lang.String fieldName)
newPropertyObject in interface MetaDataFactorymd - MetaData for the interface that this property belongs toname - Name of the fieldpk - Whether it is a part of the PKmodifier - persistence-modifierdefaultFetchGroup - Whether it is in the DFGnullValue - Action on null value insertsembedded - Whether it is embeddedserialized - Whether it is serialiseddependent - Whether it is dependent for deletesmappedBy - Field in other class that it is mapped usingcolumn - Column name to store ittable - Table where it is storedcatalog - Catalog that the table is inschema - Schema that the table is indeleteAction - Any FK delete actionindexed - Whether it is indexedunique - Whether it is uniquerecursionDepth - Recursion depth to apply on fetch-plan operationsloadFetchGroup - Whether to load the fetch groupvalueStrategy - Strategy for generating values for this fieldsequence - Sequence name if the strategy is "sequence"fieldType - Type of the fieldfieldName - Name of the field (relates to the implementation of this)
public PropertyMetaData newPropertyObject(MetaData md,
PropertyMetaData referencePmd)
newPropertyObject in interface MetaDataFactorymd - Parent metadatareferencePmd - Property to copy from
public InterfaceMetaData newInterfaceObject(PackageMetaData pmd,
java.lang.String name,
java.lang.String identityType,
java.lang.String objectidClass,
java.lang.String requiresExtent,
java.lang.String detachable,
java.lang.String embeddedOnly,
java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String entityName)
newInterfaceObject in interface MetaDataFactorypmd - MetaData for the package that this class belongs toname - Name of classidentityType - Type of identityobjectidClass - Class of the object idrequiresExtent - Whether the class requires an extentdetachable - Whether this is detachableembeddedOnly - embedded-only tagcatalog - Name for catalogschema - Name for schematable - Name of the table where to persist objects of this typeentityName - the entity name required by JPA §4.3.1
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||