| java.lang.Object org.jpox.metadata.DefaultMetaDataFactory
DefaultMetaDataFactory | public class DefaultMetaDataFactory implements MetaDataFactory(Code) | | Default implementation of MetaDataFactory.
version: $Revision: 1.4 $ |
Method Summary | |
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. | 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. | public FieldMetaData | newFieldObject(MetaData md, AbstractMemberMetaData referenceFmd) | 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. | 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. | public PropertyMetaData | newPropertyObject(MetaData md, PropertyMetaData referencePmd) Method to create a new property object copying from the supplied object. |
newClassObject | 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 | 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 | public FieldMetaData newFieldObject(MetaData md, AbstractMemberMetaData referenceFmd)(Code) | | Method to create a new field object copying from the supplied field
Parameters: md - Parent metadata Parameters: referenceFmd - The reference field FieldMetaData object |
newInterfaceObject | 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 | 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 | public PropertyMetaData newPropertyObject(MetaData md, PropertyMetaData referencePmd)(Code) | | Method to create a new property object copying from the supplied object.
Parameters: md - Parent metadata Parameters: referencePmd - Property to copy from PropertyMetaData object |
|
|