|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.obe.spi.model.AbstractSystemAttribute
Abstract base class for system attributes
Constructor Summary | |
protected |
AbstractSystemAttribute(java.beans.PropertyDescriptor propDesc)
|
Method Summary | |
java.lang.String |
getName()
|
int |
getType()
|
java.lang.Object |
getValue()
Retrieves the attribute value. |
void |
setValue(int type,
java.lang.Object value)
Sets the attribute value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.obe.spi.model.AttributeInstance |
getOwner |
Constructor Detail |
protected AbstractSystemAttribute(java.beans.PropertyDescriptor propDesc)
Method Detail |
public java.lang.String getName()
getName
in interface AttributeInstance
public int getType()
getType
in interface AttributeInstance
public java.lang.Object getValue()
AttributeInstance
getValue
in interface AttributeInstance
DataTypes.classForType(int)
,
DataTypes.classForDataType(org.obe.xpdl.model.data.DataType)
public void setValue(int type, java.lang.Object value) throws AttributeReadOnlyException
AttributeInstance
setValue
in interface AttributeInstance
type
- The data type (typically Type.DEFAULT_TYPE
).value
- The value to set.
AttributeReadOnlyException
- if the attribute in question cannot be
updated because it is read-only (applies to system attributes only).DataTypes.classForType(int)
,
DataTypes.classForDataType(org.obe.xpdl.model.data.DataType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |