com.unitesk.requality.nodetypes
Class Requirement
java.lang.Object
com.unitesk.requality.core.TreeNode
com.unitesk.requality.nodetypes.Requirement
- All Implemented Interfaces:
- java.lang.Comparable<TreeNode>
public class Requirement
- extends TreeNode
- implements java.lang.Comparable<TreeNode>
Fields inherited from class com.unitesk.requality.core.TreeNode |
id |
Methods inherited from class com.unitesk.requality.core.TreeNode |
addBaseNode, createChild, createChild, delete, equals, findChild, getAttribute, getAttributeKeys, getAttributeValue, getAttributeValue, getBaseNodes, getBooleanAttributeValue, getBooleanAttributeValue, getChild, getDescription, getFloatAttributeValue, getFloatAttributeValue, getId, getIntAttributeValue, getIntAttributeValue, getListAttributeValue, getParent, getParentUUId, getPredicate, getQualifiedId, getSortedChildren, getSortedChildren, getSortedChildren, getStringAttributeValue, getStringAttributeValue, getTreeDB, getType, getUUId, putAttribute, removeAttribute, removeBaseNode, removeChild, saveAttributes, setDescription, setParent, setPredicate, setType, sizeChildren |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Requirement
public Requirement()
Requirement
public Requirement(TreeDB db,
java.util.UUID uuid)
getTypeRootQId
public static java.lang.String getTypeRootQId()
getLocationQIds
public java.util.List<java.lang.String> getLocationQIds()
getLocations
public java.util.List<Location> getLocations()
getLocation
public Location getLocation(java.lang.String QId)
addLocation
public void addLocation(java.lang.String nodeQId)
removeLocation
public boolean removeLocation(java.lang.String nodeQId)
setName
public void setName(java.lang.String name)
setId
public void setId(java.lang.String id)
- Overrides:
setId
in class TreeNode
getName
public java.lang.String getName()
toString
public java.lang.String toString()
- Overrides:
toString
in class TreeNode
compareTo
public int compareTo(TreeNode o)
- Specified by:
compareTo
in interface java.lang.Comparable<TreeNode>
getUserFriendlyName
public java.lang.String getUserFriendlyName()