4.1.0.610 20071213

ch.ecma.csta.binding
Class SetForwarding

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

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

The SetForwarding request has these parameters:

SetForwarding Request Parameters
device Mandatory Specifies the device on which to set the feature.
forwardingType Conditional Specifies the type of forwarding. Only forwardImmediate is currently supported.
activateForward Mandatory Specifies whether the Forwarding feature is enabled.
forwardDN Conditional Mandatory if activateForward is true, optional otherwise.

Negative Acknowledgements:

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

Constructor Summary
SetForwarding()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.Boolean getActivateForward()
          Returns the value of field 'activateForward'.
 DeviceID getDevice()
          Returns the value of field 'device'.
 CSTACommonArguments getExtensions()
          Returns the value of field 'extensions'.
 DeviceID getForwardDN()
          Returns the value of field 'forwardDN'.
 ForwardingType getForwardingType()
          Returns the value of field 'forwardingType'.
 java.lang.Long getRingCount()
          Returns the value of field 'ringCount'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setActivateForward(java.lang.Boolean activateForward)
          Sets the value of field 'activateForward'.
 void setDevice(DeviceID device)
          Sets the value of field 'device'.
 void setExtensions(CSTACommonArguments extensions)
          Sets the value of field 'extensions'.
 void setForwardDN(DeviceID forwardDN)
          Sets the value of field 'forwardDN'.
 void setForwardingType(ForwardingType forwardingType)
          Sets the value of field 'forwardingType'.
 void setRingCount(java.lang.Long ringCount)
          Sets the value of field 'ringCount'.
static SetForwarding unmarshalSetForwarding(java.io.Reader reader)
          Method unmarshalSetForwarding
 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

SetForwarding

public SetForwarding()
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

getActivateForward

public java.lang.Boolean getActivateForward()
Returns the value of field 'activateForward'.

Returns:
Boolean

getDevice

public DeviceID getDevice()
Returns the value of field 'device'.

Returns:
DeviceID

getExtensions

public CSTACommonArguments getExtensions()
Returns the value of field 'extensions'.

Returns:
CSTACommonArguments

getForwardDN

public DeviceID getForwardDN()
Returns the value of field 'forwardDN'.

Returns:
DeviceID

getForwardingType

public ForwardingType getForwardingType()
Returns the value of field 'forwardingType'.

Returns:
ForwardingType

getRingCount

public java.lang.Long getRingCount()
Returns the value of field 'ringCount'.

Returns:
Long

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

setActivateForward

public void setActivateForward(java.lang.Boolean activateForward)
Sets the value of field 'activateForward'.

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

setDevice

public void setDevice(DeviceID device)
Sets the value of field 'device'.

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

setExtensions

public void setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'.

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

setForwardDN

public void setForwardDN(DeviceID forwardDN)
Sets the value of field 'forwardDN'.

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

setForwardingType

public void setForwardingType(ForwardingType forwardingType)
Sets the value of field 'forwardingType'.

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

setRingCount

public void setRingCount(java.lang.Long ringCount)
Sets the value of field 'ringCount'.

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

unmarshalSetForwarding

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

Parameters:
reader -
Returns:
SetForwarding
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.