4.1.0.610 20071213

ch.ecma.csta.binding
Class Endpoint

java.lang.Object
  extended by ch.ecma.csta.CastorObject
      extended by ch.ecma.csta.binding.Endpoint
All Implemented Interfaces:
java.io.Serializable

public class Endpoint
extends ch.ecma.csta.CastorObject
implements java.io.Serializable

For internal calls, this is the representation of the device inside the switching sub-domain. For external calls (incoming or outgoing) this is the representation of the externally located device (if known by the switching function). This component is a character string. The maximum length supported by the switching function is provided via the capabilities exchange services.
It may be:

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Endpoint()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.Object getChoiceValue()
          Returns the value of field 'choiceValue'.
 DeviceID getDeviceID()
          Returns the value of field 'deviceID'.
 Empty getNotKnown()
          Returns the value of field 'notKnown'.
 Empty getRestricted()
          Returns the value of field 'restricted'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setDeviceID(DeviceID deviceID)
          Sets the value of field 'deviceID'.
 void setNotKnown(Empty notKnown)
          Sets the value of field 'notKnown'.
 void setRestricted(Empty restricted)
          Sets the value of field 'restricted'.
static Endpoint unmarshalEndpoint(java.io.Reader reader)
          Method unmarshalEndpoint
 void validate()
          Method validate
 
Methods inherited from class ch.ecma.csta.CastorObject
getOldSessionID, hashCode, setOldSessionID, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Endpoint

public Endpoint()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden

Overrides:
equals in class ch.ecma.csta.CastorObject
Parameters:
obj -
Returns:
boolean

getChoiceValue

public java.lang.Object getChoiceValue()
Returns the value of field 'choiceValue'. The field 'choiceValue' has the following description: Internal choice value storage

Returns:
Object

getDeviceID

public DeviceID getDeviceID()
Returns the value of field 'deviceID'.

Returns:
DeviceID

getNotKnown

public Empty getNotKnown()
Returns the value of field 'notKnown'.

Returns:
Empty

getRestricted

public Empty getRestricted()
Returns the value of field 'restricted'.

Returns:
Empty

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setDeviceID

public void setDeviceID(DeviceID deviceID)
Sets the value of field 'deviceID'.

Parameters:
deviceID - the value of field 'deviceID'.

setNotKnown

public void setNotKnown(Empty notKnown)
Sets the value of field 'notKnown'.

Parameters:
notKnown - the value of field 'notKnown'.

setRestricted

public void setRestricted(Empty restricted)
Sets the value of field 'restricted'.

Parameters:
restricted - the value of field 'restricted'.

unmarshalEndpoint

public static Endpoint unmarshalEndpoint(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshalEndpoint

Parameters:
reader -
Returns:
Endpoint
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException

4.1.0.610 20071213

Copyright 2004 Avaya Inc All Rights Reserved.