|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdsto.dfc.collections.EmptyPropertySet
public class EmptyPropertySet
An empty, unmodifiable property set.
| Field Summary |
|---|
| Fields inherited from interface dsto.dfc.collections.PropertySet |
|---|
EMPTY_PROPERTY_SET |
| Constructor Summary | |
|---|---|
EmptyPropertySet()
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
|
void |
addPropertyValue(String propertyName,
Object value)
Add a values to the end of the list of property values. |
void |
addPropertyValues(String propertyName,
List values)
Add a set of values to a property. |
Object |
clone()
|
Set |
getPropertyNames()
The names of defined properties. |
Object |
getPropertyValue(String propertyName)
Get the value of a property. |
List |
getPropertyValues(String propertyName)
The values of a property. |
boolean |
hasProperty(String propertyName)
True if a property has any defined values. |
boolean |
isModifiable()
True if property set may be changed. |
void |
removeAll()
Undefine all properties in the set |
void |
removeProperty(String propertyName)
Remove all values of a property (ie undefine it). |
void |
removePropertyChangeListener(PropertyChangeListener l)
|
boolean |
removePropertyValue(String propertyName,
Object value)
Remove the first occurrence of a value from a list of property values. |
void |
setPropertyValue(String propertyName,
Object value)
|
void |
setPropertyValues(String propertyName,
List values)
Set the values of a property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyPropertySet()
| Method Detail |
|---|
public Set getPropertyNames()
PropertySet
getPropertyNames in interface PropertySetpublic List getPropertyValues(String propertyName)
PropertySet
getPropertyValues in interface PropertySetpropertyName - The name of the property.
public Object getPropertyValue(String propertyName)
PropertySet
getPropertyValue in interface PropertySet
public void setPropertyValues(String propertyName,
List values)
throws UnsupportedOperationException
PropertySet
setPropertyValues in interface PropertySetUnsupportedOperationException - if property values
cannot be changed.
public void setPropertyValue(String propertyName,
Object value)
throws UnsupportedOperationException
setPropertyValue in interface PropertySetUnsupportedOperationException
public void removeProperty(String propertyName)
throws UnsupportedOperationException
PropertySet
removeProperty in interface PropertySetUnsupportedOperationException - if property values
cannot be changed.public boolean hasProperty(String propertyName)
PropertySet
hasProperty in interface PropertySet
public void removeAll()
throws UnsupportedOperationException
PropertySet
removeAll in interface PropertySetUnsupportedOperationException - if property values
cannot be changed.
public void addPropertyValue(String propertyName,
Object value)
throws UnsupportedOperationException
PropertySet
addPropertyValue in interface PropertySetUnsupportedOperationException - if property values
cannot be changed.
public void addPropertyValues(String propertyName,
List values)
throws UnsupportedOperationException
PropertySet
addPropertyValues in interface PropertySetUnsupportedOperationException - if property values
cannot be changed.
public boolean removePropertyValue(String propertyName,
Object value)
throws UnsupportedOperationException
PropertySet
removePropertyValue in interface PropertySetUnsupportedOperationException - if property values
cannot be changed.public boolean isModifiable()
PropertySet
isModifiable in interface PropertySet
public Object clone()
throws CloneNotSupportedException
clone in interface PropertySetclone in class ObjectCloneNotSupportedExceptionpublic void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener in interface PropertySetpublic void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener in interface PropertySet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||