com.ibm.mashups.enabler
Interface ModifiableMetaData

All Superinterfaces:
MetaData

public ModifiableMetaData
extends MetaData

A modifiable interface allowing to set meta data associated with a resource.


Method Summary
 String setMetaData(String name, String value)
           Sets the value for the meta data identified by the specified name.
 Boolean confirmSetMetaData(String name, String value)
           Confirms whether setting the meta data is possible.
 String removeMetaData(String name)
           Removes the meta data identified with the specified name.
 Boolean confirmRemoveMetaData(String name)
           Confirms whether removing the meta data is possible.
 
Methods inherited from interface com.ibm.mashups.enabler.MetaData
getMetaDataNames, getMetaData
 

Method Detail

setMetaData

String setMetaData(String name,
                   String value)
Sets the value for the meta data identified by the specified name.

Parameters:
name - name of meta data to set the value for; must not be null
value - meta data value to set; must not be null
Returns:
the former value for the name; if none existed, null is returned

confirmSetMetaData

Boolean confirmSetMetaData(String name,
                           String value)
Confirms whether setting the meta data is possible.

Parameters:
name - name of meta data to set the value for; must not be null
value - meta data value to set; must not be null
Returns:
true if the value can be set, otherwise false.

removeMetaData

String removeMetaData(String name)
Removes the meta data identified with the specified name.

Parameters:
name - name of meta data to remove; must not be null
Returns:
the former value for the name; if none existed, null is returned

confirmRemoveMetaData

Boolean confirmRemoveMetaData(String name)
Confirms whether removing the meta data is possible.

Parameters:
name - name of meta data to remove; must not be null
Returns:
true if the name can be removed, otherwise false.


Copyright IBM Corp. 2010 All Rights Reserved.