public class DefaultReferenceNode extends TypeChildNode
TypeNode which is the
parent of this node.| Modifier | Constructor and Description |
|---|---|
protected |
DefaultReferenceNode(Node parent,
java.util.Map attributes) |
| Modifier and Type | Method and Description |
|---|---|
Node |
clone(Node newParent)
This method returns a clone of the current node whichs parent node is specified by the parameter newParent.
|
java.util.List<java.lang.String> |
getAttributeNames()
Returns the list of attributenames of the AttributeNodes which are children of this node.
|
java.util.Map |
getAttributeWidths()
Returns the columnwidths (list of Integer) of the AttributeNodes which are children of this node.
|
java.lang.String |
getItemAsString(DisplayState displayState,
Item item) |
java.lang.String |
getItemAsString(DisplayState displayState,
Item item,
java.util.List<java.lang.String> characteristicAttributes) |
static java.lang.String |
getLocalizedName(java.lang.String code)
Returns a localized tax name for the given tax code or the tax code itself if no localized name was found.
|
java.lang.String |
getNoSelectionName() |
java.lang.String |
getSearchAttribute() |
java.lang.String |
getSortAttribute()
Returns the name of the attribute by which to sort instances of the enclosing type.
|
boolean |
isEmptyShown() |
static java.lang.String |
toString(DisplayState displayState,
java.lang.Object value,
boolean topLevel)
Returns value as string
|
findTypeNode, getAttributeDescriptoraddAttribute, addChild, addChildren, checkCreateConditions, cloneAll, getAttributes, getBooleanAttribute, getBooleanAttribute, getCachedObject, getChild, getChildren, getChildren, getChildrenInternal, getEditorNode, getElementName, getIntegerAttribute, getIntegerAttribute, getLogger, getParent, getPosition, getPositionInfo, getStringAttribute, getStringAttribute, getSuperNode, removeAttribute, removeChild, replace, replaceChild, setAttributes, setElementName, setParent, setPosition, setPositionInfoprotected DefaultReferenceNode(Node parent, java.util.Map attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionpublic java.util.List<java.lang.String> getAttributeNames()
public java.lang.String getSearchAttribute()
public java.lang.String getNoSelectionName()
public java.util.Map getAttributeWidths()
Map containing attributename->columnwidth mappings.public java.lang.String getItemAsString(DisplayState displayState, Item item)
public java.lang.String getItemAsString(DisplayState displayState, Item item, java.util.List<java.lang.String> characteristicAttributes)
public boolean isEmptyShown()
public static java.lang.String toString(DisplayState displayState, java.lang.Object value, boolean topLevel)
displayState - the DisplayStatevalue - the valuetopLevel - If the given value is an Item and topLevel is not true the item will be enclosed in brackets.Stringpublic static java.lang.String getLocalizedName(java.lang.String code)
code - public Node clone(Node newParent)
Nodepublic java.lang.String getSortAttribute()
Copyright © 2017 SAP SE. All Rights Reserved.