ilog.tgo.model
Class IltObjectStateInfo

java.lang.Object
  extended by ilog.tgo.model.IltObjectStateInfo

public class IltObjectStateInfo
extends Object

Each IltObjectStateInfo instance describes a subclass of IltObjectState.

See Also:
IltObjectState

Constructor Summary
IltObjectStateInfo(Class clazz, String description)
          Creates the descriptor of an IltObjectState subclass.
 
Method Summary
static Enumeration AllObjectStateInfos()
          Returns an enumeration of all existing object states.
static IltObjectStateInfo FromClass(Class clazz, boolean forceLoadInit)
          Returns the class information for an object class.
 Class getDefiningClass()
          Returns the object class, a subclass of IltObjectState.
 String getDescription()
          Returns a description of the object state.
 ilog.tgo.mapper.state.IltListStateStrategy getListStrategy()
          Returns the strategy used to list the states of this object state.
 ilog.tgo.mapper.state.IltMapStateStrategy getMapStrategy()
          Returns the strategy used to map the states of this object state.
 IltObjectStateInfo getParent()
          Returns the parent class descriptor.
 void setListStrategy(ilog.tgo.mapper.state.IltListStateStrategy strategy)
          Sets the default strategy used to list the states of this object state.
 void setMapStrategy(ilog.tgo.mapper.state.IltMapStateStrategy strategy)
          Sets the default strategy used to map the states of this object state.
 String toString()
          Returns the String representation of this IltObjectStateInfo's values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IltObjectStateInfo

public IltObjectStateInfo(Class clazz,
                          String description)
Creates the descriptor of an IltObjectState subclass. By convention, this descriptor is stored in a static class variable called metainfo.

Method Detail

AllObjectStateInfos

public static Enumeration AllObjectStateInfos()
Returns an enumeration of all existing object states.

Returns:
an enumeration of IltObjectStateInfo
Internal method or field: do not use!

FromClass

public static IltObjectStateInfo FromClass(Class clazz,
                                           boolean forceLoadInit)
Returns the class information for an object class.

Parameters:
forceLoadInit - if true, force the loading and initialization of the class, and don't return null
Internal method or field: do not use!

getParent

public IltObjectStateInfo getParent()
Returns the parent class descriptor.

Internal method or field: do not use!

getDefiningClass

public Class getDefiningClass()
Returns the object class, a subclass of IltObjectState.

Internal method or field: do not use!

getDescription

public String getDescription()
Returns a description of the object state.

Internal method or field: do not use!

getMapStrategy

public ilog.tgo.mapper.state.IltMapStateStrategy getMapStrategy()
Returns the strategy used to map the states of this object state.

Internal method or field: do not use!

setMapStrategy

public void setMapStrategy(ilog.tgo.mapper.state.IltMapStateStrategy strategy)
Sets the default strategy used to map the states of this object state. The user is also allowed to set a map strategy on the IltObjectState instances directly using IltObjectState.setMapStrategy.

Internal method or field: do not use!

getListStrategy

public ilog.tgo.mapper.state.IltListStateStrategy getListStrategy()
Returns the strategy used to list the states of this object state.

Internal method or field: do not use!

setListStrategy

public void setListStrategy(ilog.tgo.mapper.state.IltListStateStrategy strategy)
Sets the default strategy used to list the states of this object state. The user is also allowed to set a map strategy on the IltObjectState instances directly using IltObjectState.setMapStrategy.

Internal method or field: do not use!

toString

public String toString()
Returns the String representation of this IltObjectStateInfo's values.

Overrides:
toString in class Object
Internal method or field: do not use!


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