org.ws4d.java.types
Class XAddressInfo

java.lang.Object
  extended by org.ws4d.java.types.XAddressInfo
Direct Known Subclasses:
EprInfo

public class XAddressInfo
extends java.lang.Object


Constructor Summary
XAddressInfo()
           
XAddressInfo(URI address, java.lang.String comManId)
           
XAddressInfo(URI address, java.lang.String comManId, ProtocolInfo protocolInfo)
           
XAddressInfo(XAddressInfo xAddressInfo)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 java.lang.String getComManId()
           
 ProtocolInfo getProtocolInfo()
           
 URI getXAddress()
           
 int hashCode()
          Returns a hash code value for the object.
 boolean isProtocolInfoNotDependable()
           
 void mergeProtocolInfo(ProtocolInfo protocolInfo)
           
 void mergeProtocolInfo(XAddressInfo xAddressInfo)
           
 void setComManId(java.lang.String comManId)
           
 void setProtocolInfo(ProtocolInfo protocolInfo)
           
 void setProtocolInfoNotDependable(boolean protocolInfoNotDependable)
           
 void setXAddress(URI address)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XAddressInfo

public XAddressInfo()

XAddressInfo

public XAddressInfo(XAddressInfo xAddressInfo)
Parameters:
xAddressInfo -

XAddressInfo

public XAddressInfo(URI address,
                    java.lang.String comManId)
Parameters:
address -
comManId -

XAddressInfo

public XAddressInfo(URI address,
                    java.lang.String comManId,
                    ProtocolInfo protocolInfo)
Method Detail

toString

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

getXAddress

public URI getXAddress()
Returns:
the xAddress

setXAddress

public void setXAddress(URI address)
Parameters:
address - the xAddress to set

getComManId

public java.lang.String getComManId()
Returns:
the comManId

setComManId

public void setComManId(java.lang.String comManId)
Parameters:
comManId - the comManId to set

getProtocolInfo

public ProtocolInfo getProtocolInfo()

setProtocolInfo

public void setProtocolInfo(ProtocolInfo protocolInfo)

mergeProtocolInfo

public void mergeProtocolInfo(ProtocolInfo protocolInfo)

mergeProtocolInfo

public void mergeProtocolInfo(XAddressInfo xAddressInfo)

isProtocolInfoNotDependable

public boolean isProtocolInfoNotDependable()

setProtocolInfoNotDependable

public void setProtocolInfoNotDependable(boolean protocolInfoNotDependable)

hashCode

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

ATTENTION: only address and comManId are considered

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value for this object.
See Also:
Object.hashCode()

equals

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

ATTENTION: only address and comManId are considered

Overrides:
equals in class java.lang.Object
Parameters:
obj - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.
See Also:
Object.equals(java.lang.Object)