ilog.cpl.style.key
Class IlpEnumKey

java.lang.Object
  extended by ilog.util.IlEnum
      extended by ilog.cpl.style.key.IlpKey
          extended by ilog.cpl.style.key.IlpEnumKey

Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Refer to the User's Manual for further information.

public class IlpEnumKey
extends IlpKey

Contains the keys for properties of type IlEnum.

Since:
JTGO 3.0
See Also:
IlpKey
Deprecated Since:
JTGO 3.5

Field Summary
static IlEnumInfo metainfo
          Deprecated. Metainformation about style keys.
 
Fields inherited from class ilog.cpl.style.key.IlpKey
defaultValue, logger
 
Constructor Summary
protected IlpEnumKey(String name, IlEnumInfo enumInfo, IlEnum defaultValue)
          Deprecated. Constructor.
 
Method Summary
 Object getEnumInfo()
          Deprecated. Returns the metainformation of the subclass of ilog.util.IlEnum corresponding to this key.
 Class getValueType()
          Deprecated. Gets the value type of the key.
static IlpEnumKey New(String name, IlEnumInfo enumInfo)
          Deprecated. Creates a new key for properties whose type is a subclass of ilog.util.IlEnum with a default value of null.
static IlpEnumKey New(String name, IlEnumInfo enumInfo, IlEnum defaultValue)
          Deprecated. Creates a new key for properties whose type is a subclass of ilog.util.IlEnum.
 
Methods inherited from class ilog.cpl.style.key.IlpKey
getDefaultInitValue, GetSharedInstance, GetSharedInstance, hashCode, internalGetDefaultValue, NewKey, NewKey, setDefaultInitValue
 
Methods inherited from class ilog.util.IlEnum
getName, intern, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metainfo

public static final IlEnumInfo metainfo
Deprecated. 
Metainformation about style keys.

Constructor Detail

IlpEnumKey

protected IlpEnumKey(String name,
                     IlEnumInfo enumInfo,
                     IlEnum defaultValue)
Deprecated. 
Constructor.

Method Detail

New

public static IlpEnumKey New(String name,
                             IlEnumInfo enumInfo)
Deprecated. 
Creates a new key for properties whose type is a subclass of ilog.util.IlEnum with a default value of null.

Parameters:
name - A unique name for the key, used for serialization.
enumInfo - The metainformation of the subclass.

New

public static IlpEnumKey New(String name,
                             IlEnumInfo enumInfo,
                             IlEnum defaultValue)
Deprecated. 
Creates a new key for properties whose type is a subclass of ilog.util.IlEnum.

Parameters:
name - A unique name for the key, used for serialization.
enumInfo - The metainformation of the subclass.
defaultValue - Initialization default value used if no other value is available.

getEnumInfo

public Object getEnumInfo()
Deprecated. 
Returns the metainformation of the subclass of ilog.util.IlEnum corresponding to this key.


getValueType

public Class getValueType()
Deprecated. 
Gets the value type of the key.

Overrides:
getValueType in class IlpKey
Returns:
Class of the value stored in the key.


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