|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.core.model.RSEPersistableObject
org.eclipse.rse.core.model.PropertySet
org.eclipse.rse.core.model.PropertyList
public class PropertyList
A property list is an ordered property set. As items are added and removed their arrival order is maintained.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.rse.core.model.PropertySet |
|---|
_defaultType |
| Fields inherited from interface org.eclipse.rse.core.model.IPropertySet |
|---|
DESCRIPTION_KEY |
| Fields inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
|---|
NO_CHILDREN |
| Constructor Summary | |
|---|---|
PropertyList(String name)
|
|
| Method Summary | |
|---|---|
IProperty |
addProperty(String key,
IProperty property)
Add a typed Property to the set. |
IProperty |
addProperty(String key,
String value)
Add a Property with String value to the set. |
IProperty |
addProperty(String key,
String value,
IPropertyType type)
Add a typed Property to the set. |
String[] |
getPropertyKeys()
Return the list of Property Keys in this Set. |
boolean |
removeProperty(String key)
Remove a Property from the set. |
void |
setProperties(Map map)
Set all the Properties of this set. |
| Methods inherited from class org.eclipse.rse.core.model.PropertySet |
|---|
commit, getContainer, getDescription, getLabel, getName, getPersistableChildren, getPersistableParent, getProperty, getPropertyType, getPropertyValue, setContainer, setDescription, setLabel, setName, update |
| Methods inherited from class org.eclipse.rse.core.model.RSEPersistableObject |
|---|
compareStrings, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyList(String name)
| Method Detail |
|---|
public IProperty addProperty(String key,
IProperty property)
PropertySet
addProperty in class PropertySetkey - Key to addproperty - The Property to add
public IProperty addProperty(String key,
String value)
IPropertySet
addProperty in interface IPropertySetaddProperty in class PropertySetkey - Key to addvalue - Value to add
public IProperty addProperty(String key,
String value,
IPropertyType type)
IPropertySet
addProperty in interface IPropertySetaddProperty in class PropertySetkey - Key to addvalue - Value to addtype - Type of the Property to add
public String[] getPropertyKeys()
IPropertySet
getPropertyKeys in interface IPropertySetgetPropertyKeys in class PropertySetpublic boolean removeProperty(String key)
IPropertySet
removeProperty in interface IPropertySetremoveProperty in class PropertySetkey - The key to remove
true if the Property has been removed,
or false if the key has not been part of the set.public void setProperties(Map map)
IPropertySet
setProperties in interface IPropertySetsetProperties in class PropertySetmap - a Map of String to IProperty associations.
|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||