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.


Constructor Index

 o SituationDescription(String, String, String)
Create a SituationDescription.
 o SituationDescription(String, String, String, SECArequirement)
Create a SituationDescription.

Method Index

 o clone()
Making clone public
 o compareTo(SituationDescription)
Compares and refines the SituationDescription according to the argument.
 o getBA()
Get the Business Application
 o getPeerName()
Get the peer name
 o getSECA()
Get the SECA requirements.
 o getUserName()
Get the user name

Constructors

 o 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.
 o 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.

Methods

 o getUserName
 public String getUserName()
Get the user name

Returns:
the user name
 o getPeerName
 public String getPeerName()
Get the peer name

Returns:
the peer name
 o getBA
 public String getBA()
Get the Business Application

Returns:
the Business Application
 o getSECA
 public SECArequirement getSECA()
Get the SECA requirements.

Returns:
the SECA requirements.
 o 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.
 o 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