com.opencloud.slee.resources.mm7
Class SenderID

java.lang.Object
  extended by com.opencloud.slee.resources.mm7.SenderID

public class SenderID
extends java.lang.Object

Representation of the VASP Sender Identification.


Constructor Summary
SenderID(java.lang.String vaspID, java.lang.String vasID, MM7Address senderAddress)
          Construct a new Sender Identification.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 MM7Address getSenderAddress()
          Get the Sender Address of this Sender Identification.
 java.lang.String getVASID()
          Get the VAS ID of this Sender Identification.
 java.lang.String getVASPID()
          Get the VASP ID of this Sender Identification.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SenderID

public SenderID(java.lang.String vaspID,
                java.lang.String vasID,
                MM7Address senderAddress)
Construct a new Sender Identification. At least one of vaspID, vasID, senderAddress should be non-null.

Parameters:
vaspID - the VASP ID
vasID - the VAS ID
senderAddress - the sender address
Method Detail

getVASPID

public java.lang.String getVASPID()
Get the VASP ID of this Sender Identification.

Returns:
the VASP ID, or null if not present

getVASID

public java.lang.String getVASID()
Get the VAS ID of this Sender Identification.

Returns:
the VAS ID, or null if not present

getSenderAddress

public MM7Address getSenderAddress()
Get the Sender Address of this Sender Identification.

Returns:
the Sender Address, or null if not present

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object