Package javax.jdo.metadata
Interface OrderMetadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetColumn()Accessor for the version column name.ColumnMetadata[]getColumns()Accessor for all column(s) defined on the ordering.IndexMetadatagetIndexMetadata()Accessor for any index metadata for the ordering.StringgetMappedBy()Accessor for the mapped-by field/property name in the element class.intgetNumberOfColumns()Accessor for the number of columns defined for this ordering.ColumnMetadatanewColumnMetadata()Add a column for this ordering.IndexMetadatanewIndexMetadata()Method to set index metadata for the ordering.OrderMetadatasetColumn(String column)Method to set the version column name.OrderMetadatasetMappedBy(String mappedBy)Method to set mapped-by information whether the order is present in the element class.-
Methods inherited from interface javax.jdo.metadata.Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
-
-
-
-
Method Detail
-
setColumn
OrderMetadata setColumn(String column)
Method to set the version column name.- Parameters:
column- Name of the version column- Returns:
- This metadata object
-
getColumn
String getColumn()
Accessor for the version column name.- Returns:
- The version column name
-
setMappedBy
OrderMetadata setMappedBy(String mappedBy)
Method to set mapped-by information whether the order is present in the element class.- Parameters:
mappedBy- Field/property name in which to store the ordering in the element- Returns:
- This metadata object
-
getMappedBy
String getMappedBy()
Accessor for the mapped-by field/property name in the element class.- Returns:
- Name of field/property in element class
-
getColumns
ColumnMetadata[] getColumns()
Accessor for all column(s) defined on the ordering.- Returns:
- The column(s)
-
newColumnMetadata
ColumnMetadata newColumnMetadata()
Add a column for this ordering.- Returns:
- The ColumnMetadata
-
getNumberOfColumns
int getNumberOfColumns()
Accessor for the number of columns defined for this ordering.- Returns:
- The number of columns
-
newIndexMetadata
IndexMetadata newIndexMetadata()
Method to set index metadata for the ordering.- Returns:
- The metadata for any index
-
getIndexMetadata
IndexMetadata getIndexMetadata()
Accessor for any index metadata for the ordering.- Returns:
- Index metadata
-
-