org.csapi.jr.se.fw
Class AuthDomain

java.lang.Object
  |
  +--org.csapi.jr.se.fw.AuthDomain
All Implemented Interfaces:
java.io.Serializable

public final class AuthDomain
extends java.lang.Object
implements java.io.Serializable

This is Sequence of Data Elements containing all the data necessary to identify a domain: the domain identifier, and a reference to the authentication interface of the domain

See Also:
Serialized Form

Constructor Summary
AuthDomain()
          Creates a new AuthDomain instance.
AuthDomain(org.csapi.jr.se.fw.DomainID _domainID, org.csapi.jr.se.CsapiInterface _authInterface)
          Creates a new AuthDomain instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.CsapiInterface getAuthInterface()
          This method returns a authInterface.
 org.csapi.jr.se.fw.DomainID getDomainID()
          This method returns a domainID.
 int hashCode()
          Returns a hashcode value for the object.
 void setAuthInterface(org.csapi.jr.se.CsapiInterface authInterface)
          This method sets a authInterface.
 void setDomainID(org.csapi.jr.se.fw.DomainID domainID)
          This method sets a domainID.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthDomain

public AuthDomain()
Creates a new AuthDomain instance.


AuthDomain

public AuthDomain(org.csapi.jr.se.fw.DomainID _domainID,
                  org.csapi.jr.se.CsapiInterface _authInterface)
Creates a new AuthDomain instance.

Parameters:
_domainID - Identifies the domain for authentication. This identifier is assigned to the domain during the initial contractual agreements, and is valid during the lifetime of the contract.
_authInterface - Identifies the authentication interface of the specific entity. This data element has the same lifetime as the domain authentication process, that is in principle a new interface reference can be provided each time a domain intends to access another.
Method Detail

getDomainID

public org.csapi.jr.se.fw.DomainID getDomainID()
This method returns a domainID.

Returns:
a org.csapi.jr.se.fw.DomainID value

getAuthInterface

public org.csapi.jr.se.CsapiInterface getAuthInterface()
This method returns a authInterface.

Returns:
a org.csapi.jr.se.CsapiInterface value

setDomainID

public void setDomainID(org.csapi.jr.se.fw.DomainID domainID)
This method sets a domainID.


setAuthInterface

public void setAuthInterface(org.csapi.jr.se.CsapiInterface authInterface)
This method sets a authInterface.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object