com.dlsc.flexgantt.model
Interface IPropertiesOwner

All Known Subinterfaces:
IActivityObject, ICapacityObject, IEventlineObject, ITimelineObject
All Known Implementing Classes:
AbstractPropertiesOwner, DefaultActivityObject, DefaultCapacityObject, DefaultEventlineObject, DefaultEventObject, DefaultTimelineObject

public interface IPropertiesOwner

A generic interface for any object that is capable of storing property values.

Since:
1.0
Author:
Dirk Lemmermann

Method Summary
 java.lang.Object getProperty(java.lang.String name)
          Returns the value for the given property.
 void setProperty(java.lang.String name, java.lang.Object value)
          Sets a value for the given property.
 

Method Detail

setProperty

void setProperty(java.lang.String name,
                 java.lang.Object value)
Sets a value for the given property.

Parameters:
name - the property name
value - the property value
Since:
1.0

getProperty

java.lang.Object getProperty(java.lang.String name)
Returns the value for the given property. The result might be NULL if no value has been specified, yet.

Parameters:
name - the property name
Returns:
the property value
Since:
1.0