ilog.cpl.style
Class IlpStorageStyleIdentifier

java.lang.Object
  extended by ilog.cpl.style.IlpStorageStyleIdentifier

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

public class IlpStorageStyleIdentifier
extends Object

Identifier for identifying styles uniquely. Style identifiers are used by the style service to access specific styles. A style identifier is a collection of string parameters that can be used with named styles, Java class styles, IlpClass styles, or attribute styles.

Since:
JTGO 3.0
Deprecated Since:
JTGO 3.5

Field Summary
static String ATTRIBUTE
          Deprecated. Type name for attribute styles.
static String ATTRIBUTE_SEPARATOR
          Deprecated. Separator used in attribute style names.
static int ATTRIBUTE_STYLE
          Deprecated.  
static int CLASS_STYLE
          Deprecated.  
static int DEFAULT
          Deprecated. Style type definitions
protected  int hashCodeCache
          Deprecated. Cache to hashCode operation
static String ILP_CLASS
          Deprecated. Type name for IlpClass styles.
static String ILP_OBJECT
          Deprecated. Type name for IlpObject styles.
static int ILPCLASS_STYLE
          Deprecated.  
static int ILPOBJECT_STYLE
          Deprecated.  
protected  Class ilpObjectIdentifierClass
          Deprecated. Java class of IlpObject identifier (name).
static String JAVA_CLASS
          Deprecated. Type name for Java class styles.
static int JAVA_CLASS_STYLE
          Deprecated.  
protected  String name
          Deprecated. Style name.
static String NAME
          Deprecated. Type name for named styles.
static int NAMED_STYLE
          Deprecated.  
static String NO_NAME
          Deprecated. Default value for use when a style name is missing.
protected  int styleType
          Deprecated. Current style type.
 
Constructor Summary
IlpStorageStyleIdentifier()
          Deprecated. IlpStorageStyleIdentifier constructor.
IlpStorageStyleIdentifier(Class clazz)
          Deprecated. Style identifier constructor.
IlpStorageStyleIdentifier(IlpAttribute attribute, IlpClass clazz)
          Deprecated. Style identifier constructor.
IlpStorageStyleIdentifier(IlpClass clazz)
          Deprecated. Style identifier constructor.
IlpStorageStyleIdentifier(IlpObject ilpObject)
          Deprecated. Style identifier constructor.
IlpStorageStyleIdentifier(String name)
          Deprecated. Style identifier constructor.
IlpStorageStyleIdentifier(String name, int type)
          Deprecated. Style identifier constructor.
IlpStorageStyleIdentifier(String name, int type, Class idClass)
          Deprecated. Style identifier constructor.
IlpStorageStyleIdentifier(String name, String type)
          Deprecated. Style identifier constructor.
IlpStorageStyleIdentifier(String name, String type, String idClass)
          Deprecated. Style identifier constructor.
 
Method Summary
 boolean equals(Object other)
          Deprecated. Tests IlpStorageStyleIdentifiers for equality.
 String getAttributeClassName()
          Deprecated. Gets the IlpClass part of an attribute identifier.
 String getAttributeName()
          Deprecated. Gets the name part of an attribute identifier.
 String getName()
          Deprecated. Generates a name from the identifier.
 Class getObjectIdentifierClass()
          Deprecated. Gets IlpObject identifier Java class.
 IlpStyleContext getStyleContext(IlpContext context)
          Deprecated. Converts the storage style identifier into a style context.
 int getStyleType()
          Deprecated. Gets style type.
 String getType()
          Deprecated. Generates a type string from the identifier parameters.
 int hashCode()
          Deprecated. Support for hashmap.
 String toString()
          Deprecated. Converts the contents of the set to String.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name
Deprecated. 
Style name.

Internal method or field: do not use!

styleType

protected int styleType
Deprecated. 
Current style type.

Internal method or field: do not use!

ilpObjectIdentifierClass

protected Class ilpObjectIdentifierClass
Deprecated. 
Java class of IlpObject identifier (name).

Internal method or field: do not use!

hashCodeCache

protected int hashCodeCache
Deprecated. 
Cache to hashCode operation

Internal method or field: do not use!

DEFAULT

public static final int DEFAULT
Deprecated. 
Style type definitions

See Also:
Constant Field Values
Internal method or field: do not use!

NAMED_STYLE

public static final int NAMED_STYLE
Deprecated. 
See Also:
Constant Field Values
Internal method or field: do not use!

JAVA_CLASS_STYLE

public static final int JAVA_CLASS_STYLE
Deprecated. 
See Also:
Constant Field Values
Internal method or field: do not use!

ILPCLASS_STYLE

public static final int ILPCLASS_STYLE
Deprecated. 
See Also:
Constant Field Values
Internal method or field: do not use!

ATTRIBUTE_STYLE

public static final int ATTRIBUTE_STYLE
Deprecated. 
See Also:
Constant Field Values
Internal method or field: do not use!

CLASS_STYLE

public static final int CLASS_STYLE
Deprecated. 
See Also:
Constant Field Values
Internal method or field: do not use!

ILPOBJECT_STYLE

public static final int ILPOBJECT_STYLE
Deprecated. 
See Also:
Constant Field Values
Internal method or field: do not use!

NO_NAME

public static final String NO_NAME
Deprecated. 
Default value for use when a style name is missing.

See Also:
Constant Field Values
Internal method or field: do not use!

NAME

public static final String NAME
Deprecated. 
Type name for named styles.

See Also:
Constant Field Values
Internal method or field: do not use!

JAVA_CLASS

public static final String JAVA_CLASS
Deprecated. 
Type name for Java class styles.

See Also:
Constant Field Values
Internal method or field: do not use!

ILP_CLASS

public static final String ILP_CLASS
Deprecated. 
Type name for IlpClass styles.

See Also:
Constant Field Values
Internal method or field: do not use!

ILP_OBJECT

public static final String ILP_OBJECT
Deprecated. 
Type name for IlpObject styles.

See Also:
Constant Field Values
Internal method or field: do not use!

ATTRIBUTE

public static final String ATTRIBUTE
Deprecated. 
Type name for attribute styles.

See Also:
Constant Field Values
Internal method or field: do not use!

ATTRIBUTE_SEPARATOR

public static final String ATTRIBUTE_SEPARATOR
Deprecated. 
Separator used in attribute style names.

See Also:
Constant Field Values
Internal method or field: do not use!
Constructor Detail

IlpStorageStyleIdentifier

public IlpStorageStyleIdentifier()
Deprecated. 
IlpStorageStyleIdentifier constructor. Creates an empty style identifier of type DEFAULT.


IlpStorageStyleIdentifier

public IlpStorageStyleIdentifier(String name)
Deprecated. 
Style identifier constructor. Creates a style identifier with the given name.

Parameters:
name - Name of style.

IlpStorageStyleIdentifier

public IlpStorageStyleIdentifier(IlpAttribute attribute,
                                 IlpClass clazz)
Deprecated. 
Style identifier constructor. Creates a style identifier with the given attribute and class.

Parameters:
attribute - Style attribute.
clazz - Attribute class.

IlpStorageStyleIdentifier

public IlpStorageStyleIdentifier(Class clazz)
Deprecated. 
Style identifier constructor. Creates a style identifier with the given class.

Parameters:
clazz - Java class.

IlpStorageStyleIdentifier

public IlpStorageStyleIdentifier(IlpClass clazz)
Deprecated. 
Style identifier constructor. Creates a style identifier with the given IlpClass.

Parameters:
clazz - The IlpClass of the style identifier.

IlpStorageStyleIdentifier

public IlpStorageStyleIdentifier(IlpObject ilpObject)
Deprecated. 
Style identifier constructor. Creates a style identifier with the given IlpObject.

Parameters:
ilpObject - Business object.

IlpStorageStyleIdentifier

public IlpStorageStyleIdentifier(String name,
                                 String type)
Deprecated. 
Style identifier constructor. Creates a style identifier with the given name and type.

Parameters:
name - Name of style as used in the underlying storage.
type - Type of style as used in the underlying storage.

IlpStorageStyleIdentifier

public IlpStorageStyleIdentifier(String name,
                                 String type,
                                 String idClass)
Deprecated. 
Style identifier constructor. Creates a style identifier with the given name and type.

Parameters:
name - Name of style as used in the underlying storage.
type - Type of style as used in the underlying storage.
idClass - Name of Java class of IlpObject identifier.

IlpStorageStyleIdentifier

public IlpStorageStyleIdentifier(String name,
                                 int type)
Deprecated. 
Style identifier constructor. Creates a style identifier with the given name and type.

Parameters:
name - Name of style as used in the underlying storage.
type - Type of style as used in the underlying storage.

IlpStorageStyleIdentifier

public IlpStorageStyleIdentifier(String name,
                                 int type,
                                 Class idClass)
Deprecated. 
Style identifier constructor. Creates a style identifier with the given name and type.

Parameters:
name - Name of style as used in the underlying storage.
type - Type of style as used in the underlying storage.
idClass - Java class of IlpObject identifier.
Method Detail

getName

public String getName()
Deprecated. 
Generates a name from the identifier.

Returns:
Name of style.
Internal method or field: do not use!

getType

public String getType()
Deprecated. 
Generates a type string from the identifier parameters.

Returns:
Type string for the style. This is null if there are no type parameters (except the style name).
Internal method or field: do not use!

getStyleType

public int getStyleType()
Deprecated. 
Gets style type.

Internal method or field: do not use!

getObjectIdentifierClass

public Class getObjectIdentifierClass()
Deprecated. 
Gets IlpObject identifier Java class.

Internal method or field: do not use!

getAttributeName

public String getAttributeName()
Deprecated. 
Gets the name part of an attribute identifier. If the style is not an attribute style, null is returned.

Internal method or field: do not use!

getAttributeClassName

public String getAttributeClassName()
Deprecated. 
Gets the IlpClass part of an attribute identifier. If the style is not an attribute style, null is returned.

Internal method or field: do not use!

getStyleContext

public IlpStyleContext getStyleContext(IlpContext context)
Deprecated. 
Converts the storage style identifier into a style context.

Returns:
the style context or null if context could not be defined
Internal method or field: do not use!

equals

public boolean equals(Object other)
Deprecated. 
Tests IlpStorageStyleIdentifiers for equality.

Overrides:
equals in class Object
Parameters:
other - Object to test for equality with.
Returns:
Returns true if the identifiers are the same, false otherwise.
Internal method or field: do not use!

hashCode

public int hashCode()
Deprecated. 
Support for hashmap.

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

toString

public String toString()
Deprecated. 
Converts the contents of the set to String.

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.