com.ptc.core.ca.co.common.config
Class CoContext

java.lang.Object
  extended by com.ptc.core.ca.co.common.config.CoContext
All Implemented Interfaces:
Externalizable, Serializable

Deprecated.

@Deprecated
public class CoContext
extends Object
implements Externalizable

CoContext class defines the context of the configuration element. The context is a set of dimensions where dimension is a name-value pair.

DCA recognizes a set of well-known dimensions and provides a set of methods to manipulate them. However, all of the dimensions are stored in the same hash map.

Supported API: true

Extendable: false

See Also:
Serialized Form

Nested Class Summary
static class com.ptc.core.ca.co.common.config.CoContext.ContextComparator
          Deprecated.  
static class com.ptc.core.ca.co.common.config.CoContext.MatchRelationship
          Deprecated.  
 
Field Summary
static String CONTEXT_ELEMENT_SEPARATOR
          Deprecated. Separates parts of the context in the string representing external form of the instance of this class.
static String ELEMENT_ANY
          Deprecated. Indicates that the value of the well-known dimension is not set in the external form of the instance of this class.
 
Constructor Summary
CoContext()
          Deprecated. 

Supported API: true
CoContext(CoContext context)
          Deprecated. 

Supported API: true
 
Method Summary
 boolean equals(Object the_object)
          Deprecated. Indicates whether some other object is "equal to" this one.
 String getApplicationId()
          Deprecated. Sets the value of the appId dimension.
 String getDecoration()
          Deprecated. Returns the value of the decoration dimension.
 String getMode()
          Deprecated. Returns the value of the mode dimension.
 String getRoleId()
          Deprecated. Returns the value of the roleId dimension.
 String getTypeId()
          Deprecated. Returns the value of the type dimension.
 void setApplicationId(String appId)
          Deprecated. Indicates whether some other object is "equal to" this one.
 void setDecoration(String decoration)
          Deprecated. Sets the value of the mode dimension.
 void setRoleId(String roleId)
          Deprecated. Sets the value of the roleId dimension.
 void setTypeId(String type_id)
          Deprecated. Sets the value of the type dimension.
 String toString()
          Deprecated. Converts this object to a string for the debug purposes.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONTEXT_ELEMENT_SEPARATOR

public static final String CONTEXT_ELEMENT_SEPARATOR
Deprecated. 
Separates parts of the context in the string representing external form of the instance of this class.

Supported API: true

See Also:
Constant Field Values

ELEMENT_ANY

public static final String ELEMENT_ANY
Deprecated. 
Indicates that the value of the well-known dimension is not set in the external form of the instance of this class.

Supported API: true

See Also:
Constant Field Values
Constructor Detail

CoContext

public CoContext()
Deprecated. 


Supported API: true


CoContext

public CoContext(CoContext context)
Deprecated. 


Supported API: true

Parameters:
context -
Method Detail

getMode

public String getMode()
Deprecated. 
Returns the value of the mode dimension.

Supported API: true

Returns:
String

getDecoration

public String getDecoration()
Deprecated. 
Returns the value of the decoration dimension.

Supported API: true

Returns:
String

setDecoration

public void setDecoration(String decoration)
Deprecated. 
Sets the value of the mode dimension.

Supported API: true

Parameters:
decoration -

getApplicationId

public String getApplicationId()
Deprecated. 
Sets the value of the appId dimension.

Supported API: true

Returns:
String

setApplicationId

public void setApplicationId(String appId)
Deprecated. 
Indicates whether some other object is "equal to" this one.

Supported API: true

Parameters:
appId -

getRoleId

public String getRoleId()
Deprecated. 
Returns the value of the roleId dimension.

Supported API: true

Returns:
String

setRoleId

public void setRoleId(String roleId)
Deprecated. 
Sets the value of the roleId dimension.

Supported API: true

Parameters:
roleId -

getTypeId

public String getTypeId()
Deprecated. 
Returns the value of the type dimension.

Supported API: true

Returns:
String

setTypeId

public void setTypeId(String type_id)
Deprecated. 
Sets the value of the type dimension.

Supported API: true

Parameters:
type_id -

equals

public boolean equals(Object the_object)
Deprecated. 
Indicates whether some other object is "equal to" this one.

Supported API: true

Overrides:
equals in class Object
Parameters:
the_object -
Returns:
boolean

toString

public String toString()
Deprecated. 
Converts this object to a string for the debug purposes.

Supported API: true

Overrides:
toString in class Object
Returns:
String