| org.jpox.metadata.MetaDataFactory
All known Subclasses: org.jpox.metadata.DefaultMetaDataFactory,
MetaDataFactory | public interface MetaDataFactory (Code) | | Factory for ClassMetaData, InterfaceMetaData, FieldMetaData and PropertyMetaData objects.
version: $Revision: 1.6 $ |
Method Summary | |
abstract public ClassMetaData | newClassObject(PackageMetaData pmd, String name, String identityType, String objectidClass, String requiresExtent, String detachable, String embeddedOnly, String modifier, String persistenceCapableSuperclass, String catalog, String schema, String table, String entityName) Constructor for a ClassMetaData. | abstract public FieldMetaData | newFieldObject(MetaData md, String name, String pk, String modifier, String defaultFetchGroup, String nullValue, String embedded, String serialized, String dependent, String mappedBy, String column, String table, String catalog, String schema, String deleteAction, String indexed, String unique, String recursionDepth, String loadFetchGroup, String valueStrategy, String sequence, String fieldType) Constructor for a FieldMetaData. | abstract public FieldMetaData | newFieldObject(MetaData md, AbstractMemberMetaData referenceFmd) Constructor for a FieldMetaData copying the supplied FieldMetaData.
Parameters: md - Parent MetaData Parameters: referenceFmd - FieldMetaData to copy. | abstract public InterfaceMetaData | newInterfaceObject(PackageMetaData pmd, String name, String identityType, String objectidClass, String requiresExtent, String detachable, String embeddedOnly, String catalog, String schema, String table, String entityName) Constructor for an InterfaceMetaData. | abstract public PropertyMetaData | newPropertyObject(MetaData md, String name, String pk, String modifier, String defaultFetchGroup, String nullValue, String embedded, String serialized, String dependent, String mappedBy, String column, String table, String catalog, String schema, String deleteAction, String indexed, String unique, String recursionDepth, String loadFetchGroup, String valueStrategy, String sequence, String fieldType, String fieldName) Constructor for a PropertyMetaData. | abstract public PropertyMetaData | newPropertyObject(MetaData md, PropertyMetaData referencePmd) Constructor for a PropertyMetaData copying the supplied PropertyMetaData.
Parameters: md - Parent MetaData Parameters: referencePmd - PropertyMetaData to copy. |
newClassObject | abstract public ClassMetaData newClassObject(PackageMetaData pmd, String name, String identityType, String objectidClass, String requiresExtent, String detachable, String embeddedOnly, String modifier, String persistenceCapableSuperclass, String catalog, String schema, String table, String entityName)(Code) | | Constructor for a ClassMetaData.
Takes the basic string information found in the XML/annotations.
Parameters: pmd - MetaData for the package that this class belongs to Parameters: name - Name of class Parameters: identityType - Type of identity Parameters: objectidClass - Class of the object id Parameters: requiresExtent - Whether the class requires an extent Parameters: detachable - Whether this is detachable Parameters: embeddedOnly - embedded-only tag Parameters: modifier - persistence modifier for the class Parameters: persistenceCapableSuperclass - PC superclass (optional) Parameters: catalog - Name for catalog Parameters: schema - Name for schema Parameters: table - Name of the table where to persist objects of this type Parameters: entityName - the entity name required by JPA §4.3.1 |
newFieldObject | abstract public FieldMetaData newFieldObject(MetaData md, String name, String pk, String modifier, String defaultFetchGroup, String nullValue, String embedded, String serialized, String dependent, String mappedBy, String column, String table, String catalog, String schema, String deleteAction, String indexed, String unique, String recursionDepth, String loadFetchGroup, String valueStrategy, String sequence, String fieldType)(Code) | | Constructor for a FieldMetaData.
Parameters: md - MetaData for the class that this field belongs to Parameters: name - Name of the field Parameters: pk - Whether it is a part of the PK Parameters: modifier - persistence-modifier Parameters: defaultFetchGroup - Whether it is in the DFG Parameters: nullValue - Action on null value inserts Parameters: embedded - Whether it is embedded Parameters: serialized - Whether it is serialised Parameters: dependent - Whether it is dependent for deletes Parameters: mappedBy - Field in other class that it is mapped using Parameters: column - Column name to store it Parameters: table - Table where it is stored Parameters: catalog - Catalog that the table is in Parameters: schema - Schema that the table is in Parameters: deleteAction - Any FK delete action Parameters: indexed - Whether it is indexed Parameters: unique - Whether it is unique Parameters: recursionDepth - Recursion depth to apply on fetch-plan operations Parameters: loadFetchGroup - Whether to load the fetch group Parameters: valueStrategy - Strategy for generating values for this field Parameters: sequence - Sequence name if the strategy is "sequence" Parameters: fieldType - Type of the field MetaData for the field |
newFieldObject | abstract public FieldMetaData newFieldObject(MetaData md, AbstractMemberMetaData referenceFmd)(Code) | | Constructor for a FieldMetaData copying the supplied FieldMetaData.
Parameters: md - Parent MetaData Parameters: referenceFmd - FieldMetaData to copy. The new FieldMetaData |
newInterfaceObject | abstract public InterfaceMetaData newInterfaceObject(PackageMetaData pmd, String name, String identityType, String objectidClass, String requiresExtent, String detachable, String embeddedOnly, String catalog, String schema, String table, String entityName)(Code) | | Constructor for an InterfaceMetaData.
Takes the basic string information found in the XML/annotations.
Parameters: pmd - MetaData for the package that this class belongs to Parameters: name - Name of class Parameters: identityType - Type of identity Parameters: objectidClass - Class of the object id Parameters: requiresExtent - Whether the class requires an extent Parameters: detachable - Whether this is detachable Parameters: embeddedOnly - embedded-only tag Parameters: catalog - Name for catalog Parameters: schema - Name for schema Parameters: table - Name of the table where to persist objects of this type Parameters: entityName - the entity name required by JPA §4.3.1 |
newPropertyObject | abstract public PropertyMetaData newPropertyObject(MetaData md, String name, String pk, String modifier, String defaultFetchGroup, String nullValue, String embedded, String serialized, String dependent, String mappedBy, String column, String table, String catalog, String schema, String deleteAction, String indexed, String unique, String recursionDepth, String loadFetchGroup, String valueStrategy, String sequence, String fieldType, String fieldName)(Code) | | Constructor for a PropertyMetaData.
Parameters: md - MetaData for the interface that this property belongs to Parameters: name - Name of the field Parameters: pk - Whether it is a part of the PK Parameters: modifier - persistence-modifier Parameters: defaultFetchGroup - Whether it is in the DFG Parameters: nullValue - Action on null value inserts Parameters: embedded - Whether it is embedded Parameters: serialized - Whether it is serialised Parameters: dependent - Whether it is dependent for deletes Parameters: mappedBy - Field in other class that it is mapped using Parameters: column - Column name to store it Parameters: table - Table where it is stored Parameters: catalog - Catalog that the table is in Parameters: schema - Schema that the table is in Parameters: deleteAction - Any FK delete action Parameters: indexed - Whether it is indexed Parameters: unique - Whether it is unique Parameters: recursionDepth - Recursion depth to apply on fetch-plan operations Parameters: loadFetchGroup - Whether to load the fetch group Parameters: valueStrategy - Strategy for generating values for this field Parameters: sequence - Sequence name if the strategy is "sequence" Parameters: fieldType - Type of the field Parameters: fieldName - Name of the field (relates to the implementation of this) MetaData for the field |
newPropertyObject | abstract public PropertyMetaData newPropertyObject(MetaData md, PropertyMetaData referencePmd)(Code) | | Constructor for a PropertyMetaData copying the supplied PropertyMetaData.
Parameters: md - Parent MetaData Parameters: referencePmd - PropertyMetaData to copy. The new PropertyMetaData |
|
|