All Packages Class Hierarchy This Package Previous Next Index
Class semper.certificate.SituationDescription
java.lang.Object
|
+----semper.certificate.SituationDescription
- public class SituationDescription
- extends Object
- implements Serializable, Cloneable
SituationDescription contains information needed to uniquely identify the
situation when a negotiation starts. It specifies the name of the user, the peer name
and the business application.
-
SituationDescription(String, String, String)
- Create a SituationDescription.
-
SituationDescription(String, String, String, SECArequirement)
- Create a SituationDescription.
-
clone()
- Making clone public
-
compareTo(SituationDescription)
- Compares and refines the SituationDescription according to the argument.
-
getBA()
- Get the Business Application
-
getPeerName()
- Get the peer name
-
getSECA()
- Get the SECA requirements.
-
getUserName()
- Get the user name
SituationDescription
public SituationDescription(String myName,
String yourName,
String ba)
- Create a SituationDescription.
- Parameters:
- myName - is a String identifying the user name.
- yourName - is a String identifying the peer name.
- ba - is a String identifying the business application.
SituationDescription
public SituationDescription(String myName,
String yourName,
String ba,
SECArequirement seca)
- Create a SituationDescription.
- Parameters:
- myName - is a String identifying the user name.
- yourName - is a String identifying the peer name.
- ba - is a String identifying the business application.
- seca - is the requirements on SECA.
getUserName
public String getUserName()
- Get the user name
- Returns:
- the user name
getPeerName
public String getPeerName()
- Get the peer name
- Returns:
- the peer name
getBA
public String getBA()
- Get the Business Application
- Returns:
- the Business Application
getSECA
public SECArequirement getSECA()
- Get the SECA requirements.
- Returns:
- the SECA requirements.
compareTo
protected void compareTo(SituationDescription arg) throws CertificateManException
- Compares and refines the SituationDescription according to the argument.
If the object contains null or "Unspecified" (user and/or peer and/or BA) the corresponding
attribute is restricted according to the argument SituationDescription.
- Parameters:
- arg - is teh SituationDescription to be used to restrict the given argument
- Throws: CertificateManException
- if the argument contradicts the SituationDescription.
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