com.unitesk.requality.nodetypes
TreeNode.TreeNodeChildIterator
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ATTR_HIDDEN |
static java.lang.String |
TYPE_NAME |
ATTR_ATTRGENERATORS, ATTR_BASE_NODES, ATTR_DESCRIPTION, ATTR_ERROR, ATTR_LINKS, ATTR_NAME, ATTR_PREDICATE, ATTR_TYPE, ATTR_UNDEFINED, children, generatedValues, id, index, NODE_GROUP, NumberRegex, outchildren, SORT_BY_LOCATIONS
Constructor and Description |
---|
Location() |
Location(TreeDB db,
java.util.UUID uid) |
Modifier and Type | Method and Description |
---|---|
int |
compareIndexTo(Location l2) |
java.lang.String |
getDescription(java.lang.String prefix,
java.lang.String postfix,
java.lang.String basePath)
Get current text description for element.
|
Document |
getDocument()
Returns document location is related to.
|
java.lang.Object |
getDocumentNodeModel() |
Document[] |
getDocuments() |
static Document[] |
getDocumentsFor(TreeDB db,
java.util.UUID locQId) |
int |
getIndexInDocument() |
Requirement[] |
getRequirements() |
static Requirement[] |
getRequirementsFor(TreeDB db,
java.lang.String locQId) |
boolean |
isHidden() |
void |
resetLabel() |
void |
setHidden(boolean hidden) |
java.lang.String |
toString() |
addAttributeIterator, addAttributeIterator, addAttributeIterator, addBaseNode, addChangeListener, addChildUUID, addExistsAttributeIterator, addGuiChangeListener, buildDependencies, containsChildUUID, createChild, createChild, delete, deleteResource, equals, evaluatePredicateString, findChild, fireGUINodeAttributeChange, fireGUINodeAttributeChange, fireGUINodeDelete, fireNodeAttributeChange, fireNodeAttributeChange, fireNodeDelete, generateAttribute, getAttribute, getAttributeIterators, getAttributeKeys, getAttributes, getAttributesMap, getAttributeValue, getAttributeValue, getAvailableGenerators, getAvailableGeneratorsOnNode, getBaseNodes, getBooleanAttributeValue, getBooleanAttributeValue, getChangeListener, getChild, getChildrenUUIds, getDescription, getDescription, getDescription, getError, getFloatAttributeValue, getFloatAttributeValue, getGeneratedAttribute, getGenerator, getGroup, getId, getIndex, getIntAttributeValue, getIntAttributeValue, getLinkedNodes, getListAttributeValue, getName, getNameOrId, getParent, getParent, getParentUUId, getParentUUId, getPredicate, getQualifiedId, getRawChild, getRawChildrenUUIDs, getResourceContent, getResourcesPath, getSortedChildren, getSortedChildren, getSortedChildren, getStringAttributeValue, getStringAttributeValue, getTreeDB, getType, getUpdatedAttribute, getUpdatedAttribute, getUserFriendlyName, getUserFriendlyName, getUUId, isDisposed, isNameDefined, isResourceExists, isVirtual, iterator, join, listResources, processResourcesPath, putAttribute, rawPutAttribute, registerAttributeGenerator, removeAttribute, removeAttribute, removeBaseNode, removeChangeListener, removeChild, removeChildUUID, removeGuiChangeListener, removeIterator, saveAttributeIterators, saveAttributes, setChildrenUUIDs, setDescription, setDisposed, setId, setIndex, setName, setParent, setPredicate, setPredicate, setResourceContent, setResourceContent, setType, sizeChildren, sizeRawChildren, toNodeDesc, toNodeDesc, updateDirectCloneChildren, updateGeneratedVars, updateGeneratedVars, updateGeneratedVars, updateGenerators, updateGenerators, updateLocalGenerator, updateTreeNodes, virtualReplaceNames
public static final java.lang.String TYPE_NAME
protected static final java.lang.String ATTR_HIDDEN
public Location()
public Location(TreeDB db, java.util.UUID uid)
public java.lang.Object getDocumentNodeModel()
public java.lang.String getDescription(java.lang.String prefix, java.lang.String postfix, java.lang.String basePath)
TreeNode
getDescription
in class TreeNode
prefix
- optional prefix for descriptionpostfix
- optional postfix for descriptionbasePath
- path to report folderpublic Requirement[] getRequirements()
public static Requirement[] getRequirementsFor(TreeDB db, java.lang.String locQId)
public Document getDocument()
public Document[] getDocuments()
public boolean isHidden()
public void setHidden(boolean hidden)
public void resetLabel()
public int getIndexInDocument()
public int compareIndexTo(Location l2)