public class Attribute extends Value
| Modifier and Type | Field and Description |
|---|---|
static StringFilter<Attribute> |
NAME |
static java.lang.String |
PROPERTY_CLAZZ |
static java.lang.String |
PROPERTY_VALUE |
static java.lang.String |
PROPERTY_VISIBILITY |
PROPERTY_INITIALIZATION, PROPERTY_TYPE, type, valuechildren, name, parentNode, PROPERTY_NAME| 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) |
check, getChildren, getClazz, getDiff, getFullId, getName, getNodes, getParent, getValue, setName, setParentNode, size, withAnnotaion, withChildren, withModifier, withoutpublic static final StringFilter<Attribute> NAME
public static final java.lang.String PROPERTY_CLAZZ
public static final java.lang.String PROPERTY_VALUE
public static final java.lang.String PROPERTY_VISIBILITY
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