|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.style.IlpStorageStyleIdentifier
public class IlpStorageStyleIdentifier
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.
| 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 |
|---|
protected String name
protected int styleType
protected Class ilpObjectIdentifierClass
IlpObject identifier (name).
protected int hashCodeCache
public static final int DEFAULT
public static final int NAMED_STYLE
public static final int JAVA_CLASS_STYLE
public static final int ILPCLASS_STYLE
public static final int ATTRIBUTE_STYLE
public static final int CLASS_STYLE
public static final int ILPOBJECT_STYLE
public static final String NO_NAME
public static final String NAME
public static final String JAVA_CLASS
public static final String ILP_CLASS
IlpClass styles.
public static final String ILP_OBJECT
IlpObject styles.
public static final String ATTRIBUTE
public static final String ATTRIBUTE_SEPARATOR
| Constructor Detail |
|---|
public IlpStorageStyleIdentifier()
IlpStorageStyleIdentifier constructor. Creates an empty style identifier of
type DEFAULT.
public IlpStorageStyleIdentifier(String name)
name - Name of style.
public IlpStorageStyleIdentifier(IlpAttribute attribute,
IlpClass clazz)
attribute - Style attribute.clazz - Attribute class.public IlpStorageStyleIdentifier(Class clazz)
clazz - Java class.public IlpStorageStyleIdentifier(IlpClass clazz)
IlpClass.
clazz - The IlpClass of the style identifier.public IlpStorageStyleIdentifier(IlpObject ilpObject)
IlpObject.
ilpObject - Business object.
public IlpStorageStyleIdentifier(String name,
String type)
name - Name of style as used in the underlying storage.type - Type of style as used in the underlying storage.
public IlpStorageStyleIdentifier(String name,
String type,
String idClass)
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.
public IlpStorageStyleIdentifier(String name,
int type)
name - Name of style as used in the underlying storage.type - Type of style as used in the underlying storage.
public IlpStorageStyleIdentifier(String name,
int type,
Class idClass)
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 |
|---|
public String getName()
public String getType()
public int getStyleType()
public Class getObjectIdentifierClass()
IlpObject identifier Java class.
public String getAttributeName()
null is returned.
public String getAttributeClassName()
IlpClass part of an attribute identifier. If the style is not an
attribute style, null is returned.
public IlpStyleContext getStyleContext(IlpContext context)
null if context could not be definedpublic boolean equals(Object other)
IlpStorageStyleIdentifiers for equality.
equals in class Objectother - Object to test for equality with.
true if the identifiers are the same, false otherwise.public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||