org.caleigo.core
Interface IPropertyProvider


public interface IPropertyProvider

The IPropertyProvider interface provides three basic methods to access named property objects.

Version:
1.00
Author:
Dennis Zikovic

Method Summary
 java.lang.Object getProperty(java.lang.String propertyName)
          Access method that returns the named property object or null if the property name could not be identified.
 java.lang.Object getProperty(java.lang.String propertyName, java.lang.Object defaultValue)
          Access method that returns the named property object or the provided default value object if the property name could not be identified.
 void setProperty(java.lang.String propertyName, java.lang.Object propertyValue)
          Mutation methods that sets the named property to the provided property object.
 

Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String propertyName)
Access method that returns the named property object or null if the property name could not be identified.


getProperty

public java.lang.Object getProperty(java.lang.String propertyName,
                                    java.lang.Object defaultValue)
Access method that returns the named property object or the provided default value object if the property name could not be identified.


setProperty

public void setProperty(java.lang.String propertyName,
                        java.lang.Object propertyValue)
Mutation methods that sets the named property to the provided property object. If the property value is null then the property may be deleted.



Copyright © 2005 Caleigo. All Rights Reserved.