public class Attribute extends Value
| Modifier and Type | Field and Description |
|---|---|
static StringFilter<Attribute> |
NAME |
PROPERTY_INITIALIZATION, PROPERTY_TYPE, type, valuechildren, name, parentNode, PROPERTY_CHILD, PROPERTY_CLASSNAME, PROPERTY_MODIFIERS, PROPERTY_NAME, PROPERTY_PARENT, 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(java.lang.Class<?> value) |
Attribute |
with(Clazz 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,
Clazz typ) |
Attribute |
with(java.lang.String name,
DataType typ) |
Attribute |
without(Annotation... annotation) |
Attribute |
without(Modifier... modifier) |
Attribute |
withValue(java.lang.String value) |
getType, getType, getValue, getValuecheck, getChildren, getClazz, getDiff, getFullId, getName, getNodes, getParent, setName, setParentNode, size, withAnnotaion, withChildren, withModifier, withoutpublic static final StringFilter<Attribute> NAME
public Attribute(java.lang.String name,
DataType datatyp)
public Modifier getModifier()
getModifier in class GraphMemberpublic Attribute without(Annotation... annotation)
public 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.Object