public class ExtendedAttribute extends Object implements Comparable<ExtendedAttribute>
Modifier and Type | Field and Description |
---|---|
static int |
EDITOR_DEFAULT |
static int |
EDITOR_LISTBOX |
static int |
TYPE_BOOLEAN |
static int |
TYPE_DATE |
static int |
TYPE_DOUBLE |
static int |
TYPE_INT |
static int |
TYPE_STRING |
static int |
TYPE_USER |
Constructor and Description |
---|
ExtendedAttribute() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(ExtendedAttribute o) |
Boolean |
getBooleanValue() |
Date |
getDateValue() |
Double |
getDoubleValue() |
int |
getEditor() |
Long |
getIntValue() |
String |
getLabel() |
int |
getMandatory()
Whether an attribute value is mandatory or not.
|
int |
getPosition()
This is the position of the attribute into the attributes list.
|
String |
getStringValue() |
int |
getType() |
Object |
getValue()
Gets the attribute value.
|
void |
setBooleanValue(Boolean booleanValue) |
void |
setDateValue(Date dateValue) |
void |
setDoubleValue(Double doubleValue) |
void |
setEditor(int editor) |
void |
setIntValue(Long intValue) |
void |
setLabel(String label) |
void |
setMandatory(int mandatory) |
void |
setPosition(int position) |
void |
setStringValue(String stringValue) |
void |
setType(int type) |
void |
setValue(Object value)
Sets the attribute value.
|
public static final int TYPE_STRING
public static final int TYPE_INT
public static final int TYPE_DOUBLE
public static final int TYPE_DATE
public static final int TYPE_USER
public static final int TYPE_BOOLEAN
public static final int EDITOR_DEFAULT
public static final int EDITOR_LISTBOX
public String getStringValue()
public void setStringValue(String stringValue)
public Long getIntValue()
public void setIntValue(Long intValue)
public Double getDoubleValue()
public void setDoubleValue(Double doubleValue)
public Date getDateValue()
public void setDateValue(Date dateValue)
public Boolean getBooleanValue()
public void setBooleanValue(Boolean booleanValue)
public int getType()
public void setType(int type)
public Object getValue()
public void setValue(Object value)
value
- The attribute value.public int getMandatory()
public void setMandatory(int mandatory)
public int getPosition()
public void setPosition(int position)
public int compareTo(ExtendedAttribute o)
compareTo
in interface Comparable<ExtendedAttribute>
public String getLabel()
public void setLabel(String label)
public int getEditor()
public void setEditor(int editor)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.