Modifier and Type | Class and Description |
---|---|
static class |
Requirement.TransferStatus |
TreeNode.TreeNodeChildIterator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_LOCATIONS |
static java.lang.String |
ATTR_ORDER |
static java.lang.String |
ATTR_STATUS |
static java.lang.String |
ATTR_TRANSF_STATUS |
static java.lang.String |
TYPE_NAME |
ATTR_CLONE_PARENT, ATTR_DESCRIPTION, ATTR_DOORS_ID, ATTR_ERROR, ATTR_FULL_PREDICATE, ATTR_GENERATORS, ATTR_HIDDEN, ATTR_ID, ATTR_IGNORE_NAME, ATTR_LABEL, ATTR_LINKS, ATTR_LOCATIONS_DESCRIPTION, ATTR_NAME, ATTR_NAMEORID, ATTR_PREDICATE, ATTR_REVERT_LINKS, ATTR_TERMS, ATTR_TERMS_REV, ATTR_TYPE, ATTR_UNDEFINED, ATTR_USERVISIBLEID, ATTR_VIRT_CHILD_REMOVED, ATTR_VIRT_REMOVED, ATTR_VIRT_STATUS, NODE_GROUP
Constructor and Description |
---|
Requirement() |
Requirement(TreeDB db,
java.util.UUID uuid) |
Modifier and Type | Method and Description |
---|---|
void |
addLocation(java.util.UUID nodeQId) |
boolean |
canEditAttributesInTable() |
int |
compareLocationIndexes(Requirement r) |
int |
compareTo(TreeNode o) |
java.lang.String |
getDescription()
Return element description to be shown in uni editor and properties panels.
|
Location |
getFirstLocation() |
static java.lang.String |
getFullName(TreeNode node,
TreeDB db,
boolean inner) |
Location |
getLocation(java.lang.String QId) |
int |
getLocationIndex(java.lang.String location) |
java.util.List<ReferenceValue> |
getLocationQIds() |
java.util.List<Location> |
getLocations() |
static java.lang.String |
getTypeRootQId() |
boolean |
isHidden() |
boolean |
isNameDefined() |
void |
reactAfterAttributeChange(java.lang.String s,
Attribute attribute) |
boolean |
removeLocation(Location l) |
boolean |
removeLocation(java.lang.String nodeQId,
Location loc) |
boolean |
removeLocationByPath(java.lang.String s) |
void |
setId(java.lang.String id)
Set identifier of element.
|
void |
setTransferProblem(Requirement.TransferStatus status) |
void |
switchType() |
void |
updateLocations(Requirement req) |
addAPropogator, addChangeListener, addGuiChangeListener, affectsPredicate, attrs, clearShownChildren, commitAttributes, createChild, createChild, createChild, createChild, delete, delete, deleteResource, dropTargetFor, equals, findShownChildsPlusName, findSingleWorkChildPlusName, findWorkChild, findWorkChildPlusName, fireGUINodeAttributeChange, fireGUINodeAttributeChange, fireGUINodeDelete, fireGUINodeResourceChange, fireNodeAttributeChange, fireNodeAttributeChange, fireNodeResourceChange, formIdAttribute, formLabel, getActiveWorkChildren, getActiveWorkChildrenUUIDs, getADescription, getADescription, getAllVirtAttrsNames, getAPropogators, getCloneParent, getCloneParentUUId, getDescription, getDescription, getDescription, getDescription, getDescription, getError, getExposedNode, getForeignID, getFullName, getFullName, getGroup, getId, getIdEvent, getIndex, getLabel, getLabelDeps, getLinks, getLinks, getLinksOrErrors, getLinksOrErrorsKeys, getLinksOrErrorsValues, getLocatonsDescription, getLocatonsDescription, getLocatonsDescription, getMultiTypeLabel, getName, getNameOrId, getNodeResourcesFile, getNodeResourcesPath, getNodeResourcesPath, getNodeVersion, getPredicate, getPredicate, getQualifiedId, getQualifiedId, getRawDescription, getRawDescription, getRawId, getRawName, getRelatedNodes, getRelations, getResource, getResourceContent, getRevertLinks, getRevertLinks, getRoot, getShownChild, getShownChild, getShownChild, getShownChildren, getShownChildren, getShownChildren, getShownChildren, getShownChildrenUUIDs, getShownChildrenUUIDs, getShownParent, getShownParentExc, getShownParentUUID, getShownParentUUIDExc, getSortedShownChildren, getSortedShownChildren, getSortedShownChildren, getSortedShownChildren, getSortedShownChildren, getSortedWorkChildren, getSortedWorkChildren, getSortedWorkChildren, getSortedWorkChildren, getTreeDB, getType, getTypeLabel, getUserVisibleName, getUserVisibleName, getUUId, getVirtAttrsNames, getVirtualAttributeDefinition, getVRoot, getVS, getWorkChild, getWorkChild, getWorkChild, getWorkChildren, getWorkChildren, getWorkChildren, getWorkChildren, getWorkChildren, getWorkChildrenUUIDs, getWorkChildrenUUIDs, getWorkParent, getWorkParentUUID, hasHeaderAttribute, hasResource, isDisposed, isIndexUndefined, isResourceExists, isRestricted, isRoot, isSameTree, isVirtName, isVirtual, isVRoot, join, listResources, processResourcesPath, reactBeforeAttributeChange, removeAPropogator, removeChangeListener, removeChild, removeChild, removeGuiChangeListener, removeIndex, revCacheChanged, setChildrenUUIDs, setDDescription, setDescription, setDisposed, setIgnoredName, setIndex, setName, setNOTDisposed, setParent, setPredicate, setResourceContent, setResourceContent, setType, shownIterator, sizeShownChildren, sizeShownChildren, sizeWorkChildren, sizeWorkChildren, toNodeDesc, toNodeDesc, toString, workIterator
public static final java.lang.String TYPE_NAME
public static final java.lang.String ATTR_LOCATIONS
public static final java.lang.String ATTR_STATUS
public static final java.lang.String ATTR_TRANSF_STATUS
public static final java.lang.String ATTR_ORDER
public Requirement()
public Requirement(TreeDB db, java.util.UUID uuid)
public static java.lang.String getTypeRootQId()
public java.util.List<ReferenceValue> getLocationQIds()
public java.util.List<Location> getLocations()
public Location getLocation(java.lang.String QId)
public void addLocation(java.util.UUID nodeQId)
public boolean removeLocation(Location l)
public boolean removeLocationByPath(java.lang.String s)
public boolean removeLocation(java.lang.String nodeQId, Location loc)
public void setId(java.lang.String id)
TreeNode
public void updateLocations(Requirement req)
public boolean isNameDefined()
isNameDefined
in class TreeNode
public int compareTo(TreeNode o)
compareTo
in interface java.lang.Comparable<TreeNode>
public int compareLocationIndexes(Requirement r)
public void setTransferProblem(Requirement.TransferStatus status)
public boolean canEditAttributesInTable()
canEditAttributesInTable
in class TreeNode
public void switchType()
public void reactAfterAttributeChange(java.lang.String s, Attribute attribute)
reactAfterAttributeChange
in class TreeNode
public int getLocationIndex(java.lang.String location)
public java.lang.String getDescription()
TreeNode
getDescription
in class TreeNode
public Location getFirstLocation()