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 |
|---|---|
Annotation |
getAnnotation() |
Clazz |
getClazz() |
Modifier |
getModifier() |
java.lang.String |
getValue(java.lang.String typ,
boolean shortName) |
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, getName, setParentNode, withAnnotaion, withChildren, 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 Clazz getClazz()
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)