ilog.rules.teamserver.web.tree.impl.ruleexplorer
Class IlrNodeData
- java.lang.Object
-
- ilog.rules.teamserver.web.tree.impl.ruleexplorer.IlrNodeData
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- IlrElementNodeData, IlrFeatureNodeData, IlrSmartViewNodeData
public abstract class IlrNodeData extends java.lang.Object implements java.io.Serializable
Base class for user data to be handled by theIlrRuleExplorerDataProvider
class.- See Also:
IlrRuleExplorerDataProvider
, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description IlrNodeData()
-
Method Summary
Methods Modifier and Type Method and Description abstract java.lang.Object
getData()
Returns the data bound to this object.abstract java.lang.String
getLabel()
Returns a label to describe the data bound to this object.java.lang.Object
getProperty(java.lang.Object key)
Searches for the property with the specifiedkey
in this property list.void
removeProperty(java.lang.Object key)
Removes a property with the specifiedkey
from the property list.void
setProperty(java.lang.Object key, java.lang.Object value)
Sets a property with the specifiedkey
andvalue
in this property list.
-
-
-
Method Detail
-
setProperty
public void setProperty(java.lang.Object key, java.lang.Object value)
Sets a property with the specifiedkey
andvalue
in this property list.The method calls the
put
method on theHashtable
that handles the property list.- Parameters:
key
- The key to be placed into this property list.value
- The value corresponding tokey
.- See Also:
getProperty(Object)
,removeProperty(Object)
-
removeProperty
public void removeProperty(java.lang.Object key)
Removes a property with the specifiedkey
from the property list.The method calls the
remove
method on theHashtable
that handles the property list.- Parameters:
key
- The key to be placed into this property list.- See Also:
getProperty(Object)
,removeProperty(Object)
-
getProperty
public java.lang.Object getProperty(java.lang.Object key)
Searches for the property with the specifiedkey
in this property list.The method returns
null
if the property is not found. The method calls theget
method on theHashtable
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 java.lang.Object getData()
Returns the data bound to this object.- Returns:
- An object.
-
getLabel
public abstract java.lang.String getLabel()
Returns a label to describe the data bound to this object.- Returns:
- An object.
- See Also:
getData()
-
-