Decision Center API

ilog.rules.teamserver.web.tree.impl.ruleexplorer
Class IlrNodeData

java.lang.Object
  extended by ilog.rules.teamserver.web.tree.impl.ruleexplorer.IlrNodeData
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IlrElementNodeData, IlrFeatureNodeData, IlrSmartViewNodeData

public abstract class IlrNodeData
extends Object
implements Serializable

Base class for user data to be handled by the IlrRuleExplorerDataProvider class.

See Also:
IlrRuleExplorerDataProvider, Serialized Form

Constructor Summary
IlrNodeData()
           
 
Method Summary
abstract  Object getData()
          Returns the data bound to this object.
abstract  String getLabel()
          Returns a label to describe the data bound to this object.
 Object getProperty(Object key)
          Searches for the property with the specified key in this property list.
 void removeProperty(Object key)
          Removes a property with the specified key from the property list.
 void setProperty(Object key, Object value)
          Sets a property with the specified key and value in this property list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrNodeData

public IlrNodeData()
Method Detail

setProperty

public void setProperty(Object key,
                        Object value)
Sets a property with the specified key and value in this property list.

The method calls the put method on the Hashtable that handles the property list.

Parameters:
key - The key to be placed into this property list.
value - The value corresponding to key.
See Also:
getProperty(Object), removeProperty(Object)

removeProperty

public void removeProperty(Object key)
Removes a property with the specified key from the property list.

The method calls the remove method on the Hashtable that handles the property list.

Parameters:
key - The key to be placed into this property list.
See Also:
getProperty(Object), removeProperty(Object)

getProperty

public Object getProperty(Object key)
Searches for the property with the specified key in this property list.

The method returns null if the property is not found. The method calls the get method on the Hashtable that handles the property list.

Parameters:
key - The property key
Returns:
The value in this property list with the specified key value.
See Also:
setProperty(Object, Object), removeProperty(Object)

getData

public abstract Object getData()
Returns the data bound to this object.

Returns:
An object.

getLabel

public abstract String getLabel()
Returns a label to describe the data bound to this object.

Returns:
An object.
See Also:
getData()

Decision Center API

© Copyright IBM Corp. 1987, 2013