public class AttributeTypeNode extends Node
| Constructor and Description |
|---|
AttributeTypeNode(Node parent,
Map attributes)
Creates a new AttributeTypeNode with the given parent and attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreateConditions(Node parent,
Map attributes)
Checks if the parent of this node is a DefaultAttributeChipsNode and if the given classname can be resolved.
|
Node |
clone(Node newParent)
This method returns a clone of the current node whichs parent node is specified by the parameter newParent.
|
ClassConfigNode |
getClassConfigNode()
Returns the ClassConfigNode which is a child of this node (element "editor") and which contains the description of
the attribute editor chip which is to be used.
|
String |
getClassName()
Returns the classname of the attribute type this node is describing.
|
ClassConfigNode |
getDisplayNode()
Returns the ClassConfigNode which is a child of this node (element "display") and which contains the description
of the attribute display chip which is to be used.
|
Class |
getTheClass()
Returns the attribute class this node describes.
|
addAttribute, addChild, addChildren, 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, setPositionInfopublic AttributeTypeNode(Node parent, Map attributes) throws NodeCreationFailedException
parent - attributes - NodeCreationFailedExceptionprotected void checkCreateConditions(Node parent, Map attributes) throws NodeCreationFailedException
checkCreateConditions in class Nodeparent - the parent node as given to the constructorattributes - the attribute map as given to the constructorNodeCreationFailedException - if the creation of the node failspublic String getClassName()
public Class getTheClass()
public ClassConfigNode getDisplayNode()
public ClassConfigNode getClassConfigNode()
Copyright © 2017 SAP SE. All Rights Reserved.