|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Property
Represents a property defined for a parent task plan. Properties have a name, data type, description, and default value. At runtime, properties have a single value of a Java type that is dictated by the data type for the property. For example, properties with the 'String' data type have runtime values that are Java String objects.
Nested Class Summary | |
---|---|
static interface |
Property.Event
Property names for the PropertyChangeEvents that can be produced by edits on a object of this type. |
Method Summary | |
---|---|
PropertyInstance |
createPropertyInstance()
Create a PropertyInstance from this Property. |
PropertyInstance |
createPropertyInstance(Object value)
Create a PropertyInstance from this Property and set the given Object as its value. |
String |
getDataTypeId()
The type (or rather the type id) for the type of data this property will hold. |
String |
getDataTypeVariantInfo()
Gets type-specific information for a property of a type that supports variants (for example XmlBean and JavaBean). |
String |
getDefaultValue()
Default value if no user value is given for this property. |
SystemProperty |
getSystemProperty()
Get the SystemProperty value for a system property. |
TaskPlan |
getTaskPlan()
Get the parent TaskPlan for this property. |
boolean |
isSystem()
Is this a system property? If this returns true, call getSystem to determine which system property this represents. |
void |
setDataTypeId(String dataTypeId)
|
void |
setDataTypeVariantInfo(String variantInfo)
|
void |
setDefaultValue(String defaultValue)
|
Methods inherited from interface com.bea.wli.worklist.api.taskplan.NamedObject |
---|
getDescription, getName, setDescription |
Methods inherited from interface com.bea.wli.worklist.api.taskplan.EventSource |
---|
addPropertyChangeListener, addPropertyChangeListener, clearDirty, dispose, getParent, isComplete, isDirty, isInitializing, isStarted, markDirty, removePropertyChangeListener, removePropertyChangeListener, startProducing |
Method Detail |
---|
TaskPlan getTaskPlan()
boolean isSystem()
SystemProperty getSystemProperty()
String getDataTypeId()
void setDataTypeId(String dataTypeId)
String getDataTypeVariantInfo()
DataTypeVariantInfoSerializer
void setDataTypeVariantInfo(String variantInfo)
String getDefaultValue()
void setDefaultValue(String defaultValue)
PropertyInstance createPropertyInstance() throws DataTypeException
DataTypeException
PropertyInstance createPropertyInstance(Object value) throws DataTypeException
DataTypeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |