ilog.cpl.style.key
Class IlpEnumArrayKey

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

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

public class IlpEnumArrayKey
extends IlpKey

Contains the keys for properties of type C[], where C is a subclass of IlEnum.

Note: Array values for keys of this type must be treated as immutable: Their components must not be modified.

Since:
JTGO 3.0
See Also:
IlEnum, 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 IlpEnumArrayKey(String name, IlEnumInfo enumInfo, IlEnum[] defaultValue)
          Deprecated. Constructor.
 
Method Summary
 Object getEnumInfo()
          Deprecated. Returns the metainfo of the subclass of ilog.util.IlEnum corresponding to the element type of this key.
 Class getValueType()
          Deprecated. Gets the value type of the key.
static IlpEnumArrayKey New(String name, IlEnumInfo enumInfo)
          Deprecated. Creates a new key for properties whose type is an array of a subclass of ilog.util.IlEnum with a default value of null.
static IlpEnumArrayKey New(String name, IlEnumInfo enumInfo, IlEnum[] defaultValue)
          Deprecated. Creates a new key for properties whose type is an array of 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

IlpEnumArrayKey

protected IlpEnumArrayKey(String name,
                          IlEnumInfo enumInfo,
                          IlEnum[] defaultValue)
Deprecated. 
Constructor.

Method Detail

New

public static IlpEnumArrayKey New(String name,
                                  IlEnumInfo enumInfo)
Deprecated. 
Creates a new key for properties whose type is an array of 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 metainfo of the subclass.

New

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

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

getEnumInfo

public Object getEnumInfo()
Deprecated. 
Returns the metainfo of the subclass of ilog.util.IlEnum corresponding to the element type of 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.