public abstract class BaseAttributeDefinition
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.Object> |
_allowedValues |
protected java.lang.String |
_categoryName |
protected boolean |
_required |
static java.lang.String |
TYPE_BOOLEAN |
static java.lang.String |
TYPE_DATE |
static java.lang.String |
TYPE_IDENTITY |
static java.lang.String |
TYPE_INT |
static java.lang.String |
TYPE_LONG |
static java.lang.String |
TYPE_PERMISSION |
static java.lang.String |
TYPE_RULE |
static java.lang.String |
TYPE_SECRET |
static java.lang.String |
TYPE_STRING |
Constructor and Description |
---|
BaseAttributeDefinition() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategoryName() |
java.lang.Object |
getDefaultValue() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayableName(java.util.Locale locale) |
java.lang.String |
getDisplayName() |
java.lang.String |
getName() |
java.lang.String |
getType() |
boolean |
isMulti() |
boolean |
isMultiValued() |
boolean |
isRequired() |
void |
setCategoryName(java.lang.String categoryName) |
void |
setDefaultValue(java.lang.Object defaultValue) |
void |
setDescription(java.lang.String description) |
void |
setDisplayName(java.lang.String name) |
void |
setMulti(boolean b) |
void |
setMultiValued(boolean b) |
void |
setName(java.lang.String name) |
void |
setRequired(boolean required) |
void |
setType(java.lang.String type) |
public static final java.lang.String TYPE_STRING
public static final java.lang.String TYPE_SECRET
public static final java.lang.String TYPE_LONG
public static final java.lang.String TYPE_INT
public static final java.lang.String TYPE_BOOLEAN
public static final java.lang.String TYPE_DATE
public static final java.lang.String TYPE_PERMISSION
public static final java.lang.String TYPE_RULE
public static final java.lang.String TYPE_IDENTITY
protected java.lang.String _categoryName
protected java.util.List<java.lang.Object> _allowedValues
protected boolean _required
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String name)
public java.lang.String getType()
public void setType(java.lang.String type)
public boolean isMulti()
public void setMulti(boolean b)
public boolean isMultiValued()
public void setMultiValued(boolean b)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getCategoryName()
public void setCategoryName(java.lang.String categoryName)
public boolean isRequired()
public void setRequired(boolean required)
public java.lang.Object getDefaultValue()
public void setDefaultValue(java.lang.Object defaultValue)
public java.lang.String getDisplayableName(java.util.Locale locale)