public interface ClassMetadata extends TypeMetadata
Modifier and Type | Method and Description |
---|---|
ClassPersistenceModifier |
getPersistenceModifier()
Accessor for the persistence modifier.
|
FieldMetadata |
newFieldMetadata(Field fld)
Add a new field to this class.
|
FieldMetadata |
newFieldMetadata(String name)
Add a new field to this class.
|
ClassMetadata |
setPersistenceModifier(ClassPersistenceModifier mod)
Method to define the persistence modifier.
|
getCacheable, getCatalog, getColumns, getDatastoreIdentityMetadata, getDetachable, getEmbeddedOnly, getFetchGroups, getForeignKeys, getIdentityType, getIndices, getInheritanceMetadata, getJoins, getMembers, getName, getNumberOfColumns, getNumberOfFetchGroups, getNumberOfForeignKeys, getNumberOfIndices, getNumberOfJoins, getNumberOfMembers, getNumberOfQueries, getNumberOfUniques, getObjectIdClass, getPrimaryKeyMetadata, getQueries, getRequiresExtent, getSchema, getSerializeRead, getTable, getUniques, getVersionMetadata, newColumnMetadata, newDatastoreIdentityMetadata, newFetchGroupMetadata, newForeignKeyMetadata, newIndexMetadata, newInheritanceMetadata, newJoinMetadata, newPrimaryKeyMetadata, newPropertyMetadata, newPropertyMetadata, newQueryMetadata, newUniqueMetadata, newVersionMetadata, setCacheable, setCatalog, setDetachable, setEmbeddedOnly, setIdentityType, setObjectIdClass, setRequiresExtent, setSchema, setSerializeRead, setTable
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
ClassMetadata setPersistenceModifier(ClassPersistenceModifier mod)
mod
- persistence modifierClassPersistenceModifier getPersistenceModifier()
FieldMetadata newFieldMetadata(String name)
name
- Name of the fieldFieldMetadata newFieldMetadata(Field fld)
fld
- The fieldCopyright © 2005–1970 Apache Software Foundation. All rights reserved.