com.ibm.commerce.messaging.util
Class Specification
java.lang.Object
|
+--com.ibm.commerce.messaging.util.Specification
- public class Specification
- extends java.lang.Object
All of the information associated with a particular specification (name, properties)
The vector will be a vector of hashtables with NVP's for CCF, Admin and Member.
Constructor Summary |
Specification()
Constructs the Specificaiton object. |
Method Summary |
java.lang.Object |
clone()
Creates a shallow copy of a specification, cloning only the vector. |
java.lang.Object |
createInstance()
This method supports the easy creation of a CCF Specification based on the name
and properties stored in this class. |
java.lang.Class |
getName()
Gets the name property (java.lang.Class) value. |
java.util.Vector |
getProperties()
Gets the properties property (java.util.Vector) value. |
void |
setName(java.lang.Class name)
Sets the name property (java.lang.String) value. |
void |
setProperties(java.util.Vector properties)
Sets the properties property (java.util.Vector) value. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADMIN
public static java.lang.String ADMIN
CCF
public static java.lang.String CCF
GETADDRESSMETHOD
public static java.lang.String GETADDRESSMETHOD
GETSECUREADDRESSMETHOD
public static java.lang.String GETSECUREADDRESSMETHOD
MEMBER
public static java.lang.String MEMBER
USEALTENCODING
public static java.lang.String USEALTENCODING
VALUE
public static java.lang.String VALUE
Specification
public Specification()
- Constructs the Specificaiton object.
clone
public java.lang.Object clone()
- Creates a shallow copy of a specification, cloning only the vector. All objects within
the vector however still point to their original objects
- Overrides:
clone
in class java.lang.Object
- Returns:
- java.lang.Object A copy of the current Specification object.
createInstance
public java.lang.Object createInstance()
throws ECSystemException
- This method supports the easy creation of a CCF Specification based on the name
and properties stored in this class. The object returned will be a CCF Specification
(either Connection or Interaction).
- Returns:
- java.lang.Object A CCF Specification.
- Throws:
ECSystemException
-
getName
public java.lang.Class getName()
- Gets the name property (java.lang.Class) value.
- Returns:
- java.lang.Class The name property value.
- See Also:
setName(java.lang.Class)
getProperties
public java.util.Vector getProperties()
- Gets the properties property (java.util.Vector) value.
- Returns:
- java.util.Vector The properties property value.
- See Also:
setProperties(java.util.Vector)
setName
public void setName(java.lang.Class name)
- Sets the name property (java.lang.String) value.
- Parameters:
name
- java.lang.Class The new value for the property.- See Also:
getName()
setProperties
public void setProperties(java.util.Vector properties)
- Sets the properties property (java.util.Vector) value.
- Parameters:
properties
- java.util.Vector The new value for the property.- See Also:
getProperties()