4.1.0.610 20071213

ch.ecma.csta.binding
Class HookswitchStatusItem

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

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

Specifies a hookswitch and its state.

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

Constructor Summary
HookswitchStatusItem()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.String getHookswitch()
          Returns the value of field 'hookswitch'.
 java.lang.Boolean getHookswitchOnHook()
          Returns the value of field 'hookswitchOnHook'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setHookswitch(java.lang.String hookswitch)
          Sets the value of field 'hookswitch'.
 void setHookswitchOnHook(java.lang.Boolean hookswitchOnHook)
          Sets the value of field 'hookswitchOnHook'.
static HookswitchStatusItem unmarshalHookswitchStatusItem(java.io.Reader reader)
          Method unmarshalHookswitchStatusItem
 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

HookswitchStatusItem

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

getHookswitch

public java.lang.String getHookswitch()
Returns the value of field 'hookswitch'. The field 'hookswitch' has the following description: Indicates the hookswitch whose status is reported. Mandatory.

Returns:
String

getHookswitchOnHook

public java.lang.Boolean getHookswitchOnHook()
Returns the value of field 'hookswitchOnHook'. The field 'hookswitchOnHook' has the following description: Indicates the state of the hookswitch.

The complete set of possible values is:

Mandatory.

Returns:
Boolean

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

setHookswitch

public void setHookswitch(java.lang.String hookswitch)
Sets the value of field 'hookswitch'. The field 'hookswitch' has the following description: Indicates the hookswitch whose status is reported. Mandatory.

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

setHookswitchOnHook

public void setHookswitchOnHook(java.lang.Boolean hookswitchOnHook)
Sets the value of field 'hookswitchOnHook'. The field 'hookswitchOnHook' has the following description: Indicates the state of the hookswitch.

The complete set of possible values is:

Mandatory.

Parameters:
hookswitchOnHook - the value of field 'hookswitchOnHook'

unmarshalHookswitchStatusItem

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

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