All Packages Class Hierarchy This Package Previous Next Index
Class semper.certificate.GeneralPolicyId
java.lang.Object
|
+----semper.certificate.GeneralPolicyId
- public class GeneralPolicyId
- extends Object
- implements Situation
GeneralPolicyId contains restrictions on the BA. If the business application is null
no restriction is set, whereas if it is set only the particular value to which it is set
may be applied.
-
_ba
-
-
GeneralPolicyId()
- Empty constructor - Serialiazable.
-
GeneralPolicyId(String)
- Create a GeneralPolicyId.
-
clone()
- Making clone public
-
equals(Object)
- Override equals as GeneralPolicyId is going to be used as a key in HashTable.
-
get(String)
- Get the value of the field name
-
hashCode()
- Override hashCode as GeneralPolicyId is going to be used as a key in HashTable.
-
initialise()
- Initialise a GeneralPolicyId
-
refineGeneralPolicyId(GeneralPolicyId)
- Refines the GeneralPolicyId according to the argument.
_ba
protected String _ba
GeneralPolicyId
public GeneralPolicyId()
- Empty constructor - Serialiazable.
GeneralPolicyId
public GeneralPolicyId(String ba)
- Create a GeneralPolicyId.
- Parameters:
- ba - is a String identifying the business application
initialise
public void initialise()
- Initialise a GeneralPolicyId
get
public String get(String fieldName)
- Get the value of the field name
- Parameters:
- fieldName - the name of the field
- Returns:
- the value of the field name
refineGeneralPolicyId
protected void refineGeneralPolicyId(GeneralPolicyId arg) throws CertificateManException
- Refines the GeneralPolicyId according to the argument.
If the object contains null BA the corresponding
attribute is restricted according to the argument policy ID.
- Parameters:
- arg - is the GeneralPolicyId to be used to restrict the given argument
- Throws: CertificateManException
- if the argument contradicts the GeneralPolicyId.
equals
public boolean equals(Object obj)
- Override equals as GeneralPolicyId is going to be used as a key in HashTable.
- Parameters:
- the - object to compare with
- Returns:
- true if the two objects are equal
- Overrides:
- equals in class Object
hashCode
public int hashCode()
- Override hashCode as GeneralPolicyId is going to be used as a key in HashTable.
- Returns:
- the hashCode
- Overrides:
- hashCode in class Object
clone
public synchronized Object clone()
- Making clone public
- Returns:
- a clone of myself
- Overrides:
- clone in class Object
All Packages Class Hierarchy This Package Previous Next Index