@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Attribute
| Modifier and Type | Fields and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_NO_DEFAULT_VALUE
Constant expressing that no default value is provided.
|
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
name
Returns the name of the attribute.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
defaultValue
Returns the default value of an optional attribute.
|
java.lang.String |
description
Returns the description of the attribute.
|
java.lang.String |
label |
boolean |
localised
Returns true, if the field is translatable (only valid for strings).
|
Attribute.Type |
type |
public static final java.lang.String ATTRIBUTE_NO_DEFAULT_VALUE
public abstract java.lang.String name
public abstract java.lang.String label
public abstract java.lang.String description
public abstract Attribute.Type type