|
CDMA engine API
3.1.0
CDMA core library
|
The IContainer interface is shared IGroup and IDataItem. More...
Public Member Functions | |
| ModelType | getModelType () |
| void | addOneAttribute (IAttribute attribute) |
| void | addStringAttribute (String name, String value) |
| IAttribute | getAttribute (String name) |
| List< IAttribute > | getAttributeList () |
| IDataset | getDataset () |
| String | getLocation () |
| String | getName () |
| IContainer | getParentGroup () |
| IContainer | getRootGroup () |
| String | getShortName () |
| boolean | hasAttribute (String name, String value) |
| boolean | removeAttribute (IAttribute attribute) |
| void | setName (String name) |
| void | setShortName (String name) |
| void | setParent (IGroup group) |
| IContainer | clone () throws CloneNotSupportedException |
The IContainer interface is shared IGroup and IDataItem.
engineAPI The IContainer contains behaviors a node, in a tree of data, should respect.
| void org.gumtree.data.interfaces.IContainer.addOneAttribute | ( | IAttribute | attribute | ) |
Add an Attribute to the Group.
| attribute | CDMA Attribute |
| void org.gumtree.data.interfaces.IContainer.addStringAttribute | ( | String | name, |
| String | value | ||
| ) |
A convenience method of adding a String type attribute.
| name | String type object |
| value | String type object |
| IContainer org.gumtree.data.interfaces.IContainer.clone | ( | ) | throws CloneNotSupportedException |
Clone this IContainer.
Implemented in org.gumtree.data.interfaces.IDataItem, and org.gumtree.data.interfaces.IGroup.
| IAttribute org.gumtree.data.interfaces.IContainer.getAttribute | ( | String | name | ) |
Find an Attribute in this Group by its name.
| name | the name of the attribute |
Get the set of attributes contained directly in this Group.
Get the Dataset that hold the current Group.
Implemented in org.gumtree.data.interfaces.IGroup.
Get the location referenced by the Dataset.
| ModelType org.gumtree.data.interfaces.IContainer.getModelType | ( | ) |
Get the ModelType implemented by this object.
Get the (long) name of the IObject, which contains the path information.
Get its parent Group, or null if its the root group.
Implemented in org.gumtree.data.interfaces.IGroup.
Get the root group of the tree that holds the current Group.
Implemented in org.gumtree.data.interfaces.IGroup.
Get the "short" name, unique within its parent Group.
| boolean org.gumtree.data.interfaces.IContainer.hasAttribute | ( | String | name, |
| String | value | ||
| ) |
Check if the Group has an Attribute with certain name and value.
| name | in String type |
| value | in String type |
| boolean org.gumtree.data.interfaces.IContainer.removeAttribute | ( | IAttribute | attribute | ) |
Remove an Attribute from the Attribute list.
| attribute | CDMA Attribute |
Implemented in org.gumtree.data.interfaces.IDataItem.
| void org.gumtree.data.interfaces.IContainer.setName | ( | String | name | ) |
Set the IObject's (long) name.
| name | String object |
| void org.gumtree.data.interfaces.IContainer.setParent | ( | IGroup | group | ) |
Set the parent group.
| group | IGroup object |
| void org.gumtree.data.interfaces.IContainer.setShortName | ( | String | name | ) |
Set the IObject's (short) name.
| name | in String type |