public class Attribute extends Value
| Modifier and Type | Field and Description |
|---|---|
static StringFilter<Attribute> |
NAME |
PROPERTY_INITIALIZATION, PROPERTY_TYPE, PROPERTY_TYPECLAZZ, type, valuechildren, name, parentNode, PROPERTY_CHILD, PROPERTY_CLASSNAME, PROPERTY_LITERAL, PROPERTY_MODIFIERS, PROPERTY_NAME, PROPERTY_PARENT, PROPERTY_PATH, PROPERTY_THIS, PROPERTY_VISIBILITY| Constructor and Description |
|---|
Attribute(java.lang.String name,
DataType datatyp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Annotation |
getAnnotation() |
Modifier |
getModifier() |
java.lang.String |
getValue(java.lang.String typ,
boolean shortName) |
java.lang.String |
toString() |
Attribute |
with(Annotation value) |
Attribute |
with(DataType value) |
Attribute |
with(Modifier... modifier) |
Attribute |
with(java.lang.String value)
Set the name of Element
|
Attribute |
with(java.lang.String name,
DataType typ) |
Attribute |
without(GraphMember... values) |
Attribute |
withValue(java.lang.String value) |
check, getChildren, getClazz, getDiff, getFullId, getName, getNodes, getParent, remove, setName, setParentNode, withAnnotation, withModifierpublic static final StringFilter<Attribute> NAME
public Attribute(java.lang.String name,
DataType datatyp)
public Modifier getModifier()
getModifier in class GraphMemberpublic Attribute with(java.lang.String value)
GraphMemberwith in class GraphMembervalue - The Name of Elementpublic java.lang.String getValue(java.lang.String typ,
boolean shortName)
public Annotation getAnnotation()
getAnnotation in class GraphMemberpublic Attribute with(Annotation value)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic Attribute without(GraphMember... values)
without in class GraphMember