|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeMetadata
Represents a class or interface. Extended for the specifics of those cases.
Method Summary | |
---|---|
boolean |
getCacheable()
Accessor for whether this is cacheable. |
java.lang.String |
getCatalog()
Accessor for the catalog (ORM) for this component |
ColumnMetadata[] |
getColumns()
Accessor for all column(s) defined on the join. |
DatastoreIdentityMetadata |
getDatastoreIdentityMetadata()
Accessor for the datastore identity details. |
boolean |
getDetachable()
Accessor for whether this is detachable. |
java.lang.Boolean |
getEmbeddedOnly()
Accessor for whether this is embedded only. |
FetchGroupMetadata[] |
getFetchGroups()
Accessor for all FetchGroup defined on the component. |
ForeignKeyMetadata[] |
getForeignKeys()
Accessor for all fk(s) defined on the component. |
IdentityType |
getIdentityType()
Accessor for the identity type to use. |
IndexMetadata[] |
getIndices()
Accessor for all index(s) defined on the component. |
InheritanceMetadata |
getInheritanceMetadata()
Accessor for the inheritance (if any). |
JoinMetadata[] |
getJoins()
Accessor for all joins(s) defined on the component. |
MemberMetadata[] |
getMembers()
Accessor for all fields/properties defined on the component. |
java.lang.String |
getName()
Accessor for the name of this component (set on construction). |
int |
getNumberOfColumns()
Accessor for the number of columns defined for this join. |
int |
getNumberOfFetchGroups()
Accessor for the number of fetchGroups defined for this component. |
int |
getNumberOfForeignKeys()
Accessor for the number of FKs defined for this component. |
int |
getNumberOfIndices()
Accessor for the number of indices defined for this component. |
int |
getNumberOfJoins()
Accessor for the number of join(s) defined for this component. |
int |
getNumberOfMembers()
Accessor for the number of fields/properties defined for this component. |
int |
getNumberOfQueries()
Accessor for the number of named queries defined for this component. |
int |
getNumberOfUniques()
Accessor for the number of unique constraints defined for this component. |
java.lang.String |
getObjectIdClass()
Accessor for the object-id class (if defined). |
PrimaryKeyMetadata |
getPrimaryKeyMetadata()
Accessor for the primary key (if any). |
QueryMetadata[] |
getQueries()
Accessor for all named queries defined on the component. |
boolean |
getRequiresExtent()
Accessor for whether the component requires an extent. |
java.lang.String |
getSchema()
Accessor for the schema (ORM) for this component |
boolean |
getSerializeRead()
Accessor for the value of serializeRead for objects of this type. |
java.lang.String |
getTable()
Accessor for the name of the table. |
UniqueMetadata[] |
getUniques()
Accessor for all unique constraints defined on the component. |
VersionMetadata |
getVersionMetadata()
Accessor for the version (if any). |
ColumnMetadata |
newColumnMetadata()
Add a new column for this join. |
DatastoreIdentityMetadata |
newDatastoreIdentityMetadata()
Method to define the datastore identity metadata details. |
FetchGroupMetadata |
newFetchGroupMetadata(java.lang.String name)
Add a new FetchGroup for this component. |
ForeignKeyMetadata |
newForeignKeyMetadata()
Add a new FK for this component. |
IndexMetadata |
newIndexMetadata()
Add a new index for this component. |
InheritanceMetadata |
newInheritanceMetadata()
Method to define the inheritance metadata. |
JoinMetadata |
newJoinMetadata()
Add a join for this component. |
PrimaryKeyMetadata |
newPrimaryKeyMetadata()
Method to define the primary key details. |
PropertyMetadata |
newPropertyMetadata(java.lang.reflect.Method method)
Add a new property for this component. |
PropertyMetadata |
newPropertyMetadata(java.lang.String name)
Add a new property for this component. |
QueryMetadata |
newQueryMetadata(java.lang.String name)
Add a new query for this component. |
UniqueMetadata |
newUniqueMetadata()
Add a new unique constraint for this component. |
VersionMetadata |
newVersionMetadata()
Method to define the version metadata. |
TypeMetadata |
setCacheable(boolean cacheable)
Method to set whether this is cacheable |
TypeMetadata |
setCatalog(java.lang.String catalog)
Method to set the catalog (ORM) for this component |
TypeMetadata |
setDetachable(boolean detachable)
Method to set whether this is detachable |
TypeMetadata |
setEmbeddedOnly(boolean embedded)
Method to set whether it is stored only as embedded in other objects. |
TypeMetadata |
setIdentityType(IdentityType id)
Method to define the identity type to use. |
TypeMetadata |
setObjectIdClass(java.lang.String idclass)
Method to set the object-id (PK) class. |
TypeMetadata |
setRequiresExtent(boolean extent)
Method to set whether the component requires an extent. |
TypeMetadata |
setSchema(java.lang.String schema)
Method to set the schema (ORM) for this component |
TypeMetadata |
setSerializeRead(boolean flag)
Method to set the default value of serializeRead for objects of this type. |
TypeMetadata |
setTable(java.lang.String table)
Method to set the table name. |
Methods inherited from interface javax.jdo.metadata.Metadata |
---|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata |
Method Detail |
---|
java.lang.String getName()
TypeMetadata setIdentityType(IdentityType id)
id
- identity typeIdentityType getIdentityType()
TypeMetadata setObjectIdClass(java.lang.String idclass)
idclass
- Object-id classjava.lang.String getObjectIdClass()
TypeMetadata setRequiresExtent(boolean extent)
extent
- Requires extent?boolean getRequiresExtent()
TypeMetadata setDetachable(boolean detachable)
detachable
- Detachable?boolean getDetachable()
TypeMetadata setCacheable(boolean cacheable)
cacheable
- Cacheable?boolean getCacheable()
TypeMetadata setSerializeRead(boolean flag)
flag
- serializeReadboolean getSerializeRead()
TypeMetadata setEmbeddedOnly(boolean embedded)
embedded
- Whether it is only stored embeddedjava.lang.Boolean getEmbeddedOnly()
TypeMetadata setCatalog(java.lang.String catalog)
catalog
- Catalog namejava.lang.String getCatalog()
TypeMetadata setSchema(java.lang.String schema)
schema
- Schema namejava.lang.String getSchema()
TypeMetadata setTable(java.lang.String table)
table
- Table namejava.lang.String getTable()
InheritanceMetadata newInheritanceMetadata()
InheritanceMetadata getInheritanceMetadata()
VersionMetadata newVersionMetadata()
VersionMetadata getVersionMetadata()
DatastoreIdentityMetadata newDatastoreIdentityMetadata()
DatastoreIdentityMetadata getDatastoreIdentityMetadata()
PrimaryKeyMetadata newPrimaryKeyMetadata()
PrimaryKeyMetadata getPrimaryKeyMetadata()
JoinMetadata[] getJoins()
JoinMetadata newJoinMetadata()
int getNumberOfJoins()
ForeignKeyMetadata[] getForeignKeys()
ForeignKeyMetadata newForeignKeyMetadata()
int getNumberOfForeignKeys()
IndexMetadata[] getIndices()
IndexMetadata newIndexMetadata()
int getNumberOfIndices()
UniqueMetadata[] getUniques()
UniqueMetadata newUniqueMetadata()
int getNumberOfUniques()
MemberMetadata[] getMembers()
int getNumberOfMembers()
PropertyMetadata newPropertyMetadata(java.lang.String name)
name
- Name of the property
PropertyMetadata newPropertyMetadata(java.lang.reflect.Method method)
method
- Java bean getter/setter method
QueryMetadata[] getQueries()
QueryMetadata newQueryMetadata(java.lang.String name)
name
- Name of the query to add
int getNumberOfQueries()
FetchGroupMetadata[] getFetchGroups()
FetchGroupMetadata newFetchGroupMetadata(java.lang.String name)
name
- Name of the FetchGroup
int getNumberOfFetchGroups()
ColumnMetadata[] getColumns()
ColumnMetadata newColumnMetadata()
int getNumberOfColumns()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |