-
- All Superinterfaces:
StoreSchemaData
public interface ListStoreSchemaData extends StoreSchemaData
Interface representing schema information for the datastore. Extends the basic StoreSchemaData (set of properties) to allow a List of child elements (bidirectional).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChild(StoreSchemaData child)Method to define a child component for this component.voidclearChildren()Method to remove all children.StoreSchemaDatagetChild(int position)Accessor for a child store metadata component at a position (if stored in a List).List<StoreSchemaData>getChildren()Accessor for a List of child metadata components (if stored in a List).intgetNumberOfChildren()Accessor for the number of child metadata components.StoreSchemaDatagetParent()Accessor for the parent store metadata component for this (if any).voidsetParent(StoreSchemaData parent)Method to set the parentage of a component.-
Methods inherited from interface org.datanucleus.store.schema.StoreSchemaData
addProperty, getProperty
-
-
-
-
Method Detail
-
setParent
void setParent(StoreSchemaData parent)
Method to set the parentage of a component.- Parameters:
parent- Parent component
-
getParent
StoreSchemaData getParent()
Accessor for the parent store metadata component for this (if any).- Returns:
- Parent component
-
addChild
void addChild(StoreSchemaData child)
Method to define a child component for this component.- Parameters:
child- The component
-
clearChildren
void clearChildren()
Method to remove all children.
-
getChildren
List<StoreSchemaData> getChildren()
Accessor for a List of child metadata components (if stored in a List).- Returns:
- Child components.
-
getChild
StoreSchemaData getChild(int position)
Accessor for a child store metadata component at a position (if stored in a List).- Parameters:
position- Position of the child component (first = 0)- Returns:
- The child component.
-
getNumberOfChildren
int getNumberOfChildren()
Accessor for the number of child metadata components.- Returns:
- Number of child components.
-
-