public class Category
extends java.lang.Object
Constructor and Description |
---|
Category(java.lang.String name)
Category Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Getter the name of the Category.
|
java.util.ArrayList<AbstractCpsObject> |
getObjects()
Getter for all CpsObjects.
|
java.util.HashMap<java.lang.String,java.lang.Integer> |
getObjIdx()
Getter of the Objects in the Tree with their respective order.
|
void |
setName(java.lang.String name)
Set the name of the Category to a new one.
|
void |
setObjects(java.util.ArrayList<AbstractCpsObject> objects)
Set a new ArrayList of CpsObjects.
|
void |
setObjIdx(java.util.HashMap<java.lang.String,java.lang.Integer> objIdx)
Set a new sequence of Objects in the tree.
|
public Category(java.lang.String name)
name
- name of the Categorypublic java.util.ArrayList<AbstractCpsObject> getObjects()
public void setObjects(java.util.ArrayList<AbstractCpsObject> objects)
objects
- the objects to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.util.HashMap<java.lang.String,java.lang.Integer> getObjIdx()
public void setObjIdx(java.util.HashMap<java.lang.String,java.lang.Integer> objIdx)
objIdx
- the objIdx to set