|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.eclipse.rse.core.model.Property
public class Property
A Property is used in PropertySets and may be persisted as a result of persisting the containing set. Each property has a type, a label, a key and a value.
| Constructor Summary | |
|---|---|
Property(IProperty property)
|
|
Property(String name,
String value,
IPropertyType type,
boolean isEnabled)
|
|
| Method Summary | |
|---|---|
String |
getKey()
|
String |
getLabel()
|
IPropertyType |
getType()
|
String |
getValue()
|
boolean |
isEnabled()
Retrieves the "enabled" presentation attribute of this property. |
boolean |
isReadOnly()
Retrieves the "read-only" presentation attribute of this property. |
void |
setEnabled(boolean flag)
Sets the "enabled" presentation attribute of this property. |
void |
setLabel(String label)
Sets the displayable label of the property. |
void |
setReadOnly(boolean flag)
Sets the "read-only" presentation attribute of this property. |
void |
setType(IPropertyType type)
Sets the type of this property. |
void |
setValue(String value)
Sets the value of this property. |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Property(IProperty property)
public Property(String name,
String value,
IPropertyType type,
boolean isEnabled)
| Method Detail |
|---|
public String getKey()
getKey in interface IPropertypublic void setLabel(String label)
IProperty
setLabel in interface IPropertylabel - the label for this property.public String getLabel()
getLabel in interface IPropertypublic void setValue(String value)
IProperty
setValue in interface IPropertyvalue - the new value for this property.public String getValue()
getValue in interface IPropertypublic void setType(IPropertyType type)
IProperty
setType in interface IPropertytype - the property typepublic IPropertyType getType()
getType in interface IPropertypublic void setEnabled(boolean flag)
IProperty
setEnabled in interface IPropertyflag - true if the property is to be enabled.public boolean isEnabled()
IProperty
isEnabled in interface IPropertypublic void setReadOnly(boolean flag)
IProperty
setReadOnly in interface IPropertyflag - true if the property is to be read-only.public boolean isReadOnly()
IProperty
isReadOnly in interface IProperty
|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||