| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModifiableMetaData
An interface representing modifiable meta data. It can be obtained through the ModifiableMetaDataProvider.
Method Summary | |
---|---|
boolean | confirmRemoveName(java.lang.String aName)
Indicates if the specifed meta data may be removed. |
boolean | confirmRemoveNames()
Indicates if all meta data may be removed. |
boolean | confirmRemoveNames(java.util.Collection aCollection)
Indicates if the specified meta data may be removed. |
boolean | confirmRetainNames(java.util.Collection aCollection)
Indicates if the specified meta data may be retained. |
boolean | confirmSetValue(java.lang.String aName,
java.lang.Object aValue)
Indicates if the specified meta data may be set. |
boolean | confirmSetValues(MetaData aMetaData)
Indicates if the specified meta data may be set. |
java.lang.Object | removeName(java.lang.String aName)
Removes the meta data identified with the specified name. |
boolean | removeNames()
Removes all meta data. |
boolean | removeNames(java.util.Collection aCollection)
Removes the meta data identified by the names specified in the collection. |
boolean | retainNames(java.util.Collection aCollection)
Retains only the meta data identified by the names specified in the collection. |
java.lang.Object | setValue(java.lang.String aName,
java.lang.Object aValue)
Sets the value for the meta data identified by the specified name. |
boolean | setValues(MetaData aMetaData)
Sets the specified meta data. |
Methods inherited from interface com.ibm.portal.MetaData |
---|
getNames, getValue, iterator |
Method Detail |
---|
java.lang.Object setValue(java.lang.String aName, java.lang.Object aValue) throws CannotModifyPropertyException
null
- Returns:
- the former value for the name; if none existed,
null
is returned
- Throws:
- CannotModifyPropertyException - in case the value of the meta data cannot be set
boolean setValues(MetaData aMetaData) throws CannotModifyPropertyException
true
if this ModifiableMetaData
was
changed as a result of this call
java.lang.Object removeName(java.lang.String aName) throws CannotModifyPropertyException
null
is returned
boolean removeNames(java.util.Collection aCollection) throws CannotModifyPropertyException
true
if this ModifiableMetaData
was
changed as a result of this call
boolean removeNames() throws CannotModifyPropertyException
true
if this ModifiableMetaData
was
changed as a result of this call
boolean retainNames(java.util.Collection aCollection) throws CannotModifyPropertyException
true
if this ModifiableMetaData
was
changed as a result of this call
boolean confirmSetValue(java.lang.String aName, java.lang.Object aValue)
true
if the meta data may be set,
false
otherwiseboolean confirmSetValues(MetaData aMetaData)
true
if the specfied meta data may be set,
false
otherwiseboolean confirmRemoveName(java.lang.String aName)
true
if the specified meta data may be removed,
false
otherwiseboolean confirmRemoveNames(java.util.Collection aCollection)
true
if the specified meta data may be removed,
false
otherwiseboolean confirmRemoveNames()
true
if all meta data may be remvoed,
false
otherwiseboolean confirmRetainNames(java.util.Collection aCollection)
true
in case the meta data may be retained,
false
otherwise
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |