ilog.views.gantt.property
Interface IlvUserPropertyHolder

All Known Implementing Classes:
IlvGeneralActivity, IlvGeneralConstraint, IlvGeneralReservation, IlvGeneralResource, IlvTableActivity, IlvTableConstraint, IlvTableReservation, IlvTableResource

public interface IlvUserPropertyHolder

IlvUserPropertyHolder defines the behavior of a data model entity that supports user-defined properties.

Since:
JViews 6.0

Method Summary
 Object getProperty(String property)
          Returns the value of a user-defined property or null if the property does not exist.
 boolean isUserProperty(String property)
          Returns true if the property is a user-defined property.
 Iterator propertyNameIterator()
          Returns an iterator over all the property names of the object.
 Object setProperty(String property, Object value)
          Stores a user-defined property in the object's property table, with its value.
 

Method Detail

getProperty

Object getProperty(String property)
Returns the value of a user-defined property or null if the property does not exist.

Parameters:
property - The name of the property.
Returns:
The value of the property or null if the property does not exist.
See Also:
setProperty(java.lang.String, java.lang.Object)

setProperty

Object setProperty(String property,
                   Object value)
Stores a user-defined property in the object's property table, with its value.

Parameters:
property - The name of the property.
value - The value of the property. If the value is null then the property is removed.
Returns:
The value of the property set or the old value of the property if the value is being removed.
See Also:
getProperty(java.lang.String)

propertyNameIterator

Iterator propertyNameIterator()
Returns an iterator over all the property names of the object.

Returns:
The iterator.

isUserProperty

boolean isUserProperty(String property)
Returns true if the property is a user-defined property.

Parameters:
property - The name of the property.
Since:
JViews 7.5


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.