thinkmap.expression.runtime
Interface IPropertyHandler

All Known Implementing Classes:
EntityType, PropertyHandler

public interface IPropertyHandler


Method Summary
 Object getProperty(String sPropName)
          Returns the value of the property named by the sPropName argument.
 Enumeration getPropertyNames()
          Returns an Enumeration of the names of all properties currently defined in this PropertyHandler and all "parent" property handlers.
 void removeProperty(String sName)
          Removes the named property from this IPropertyHandler
 void setProperty(String sPropName, Object oValue)
          Sets the value of the property with the given name to the given value.
 

Method Detail

getProperty

Object getProperty(String sPropName)
Returns the value of the property named by the sPropName argument.

Parameters:
sPropName - the name of the property whose value is to be returned
Returns:
the value of the property named by the sPropName argument

setProperty

void setProperty(String sPropName,
                 Object oValue)
Sets the value of the property with the given name to the given value. If the property does not currently exist in this IPropertyHandler, it is added.

Parameters:
sPropName - the name of the property whose value is to be set
oValue - the value that the property will be set to

removeProperty

void removeProperty(String sName)
Removes the named property from this IPropertyHandler

Parameters:
sName - the name of the property to be removed

getPropertyNames

Enumeration getPropertyNames()
Returns an Enumeration of the names of all properties currently defined in this PropertyHandler and all "parent" property handlers. This is an Enumeration of Strings. There may be duplicate names.

Returns:
an Enumeration of the names of all properties currently defined in this PropertyHandler and all parent property handlers. This is an Enumeration of Strings.


Copyright © 2013 Thinkmap, Inc. All Rights Reserved.