4.1.0.610 20071213

ch.ecma.csta.binding
Class Deactivate

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

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

Not supported.

Excludes a grammar rule to be considered in matching the speech of a call.

For an illustration of this service, see ECMA 269, section 26.1.4.

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

Constructor Summary
Deactivate()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 CSTACommonArguments getExtensions()
          Returns the value of field 'extensions'.
 java.lang.String getGrammarName()
          Returns the value of field 'grammarName'.
 ConnectionID getOverConnection()
          Returns the value of field 'overConnection'.
 java.lang.String getResource()
          Returns the value of field 'resource'.
 java.lang.String getRuleName()
          Returns the value of field 'ruleName'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setExtensions(CSTACommonArguments extensions)
          Sets the value of field 'extensions'.
 void setGrammarName(java.lang.String grammarName)
          Sets the value of field 'grammarName'.
 void setOverConnection(ConnectionID overConnection)
          Sets the value of field 'overConnection'.
 void setResource(java.lang.String resource)
          Sets the value of field 'resource'.
 void setRuleName(java.lang.String ruleName)
          Sets the value of field 'ruleName'.
static Deactivate unmarshalDeactivate(java.io.Reader reader)
          Method unmarshalDeactivate
 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

Deactivate

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

getExtensions

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

Returns:
CSTACommonArguments

getGrammarName

public java.lang.String getGrammarName()
Returns the value of field 'grammarName'. The field 'grammarName' has the following description:

Specifies the name of the grammar to be deactivated. If not specified, all of the grammars will be affected.

Returns:
String

getOverConnection

public ConnectionID getOverConnection()
Returns the value of field 'overConnection'. The field 'overConnection' has the following description:

Specifies the connection for which grammar of the Listener is to be deactivated.

Returns:
ConnectionID

getResource

public java.lang.String getResource()
Returns the value of field 'resource'. The field 'resource' has the following description:

Specifies the interactive voice resource for this service. This parameter is required if there are multiple interactive voice resource per connection.

Returns:
String

getRuleName

public java.lang.String getRuleName()
Returns the value of field 'ruleName'. The field 'ruleName' has the following description:

Specifies the rule name of the grammar to be deactivated.

Returns:
String

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

setExtensions

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

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

setGrammarName

public void setGrammarName(java.lang.String grammarName)
Sets the value of field 'grammarName'. The field 'grammarName' has the following description:

Specifies the name of the grammar to be deactivated. If not specified, all of the grammars will be affected.

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

setOverConnection

public void setOverConnection(ConnectionID overConnection)
Sets the value of field 'overConnection'. The field 'overConnection' has the following description:

Specifies the connection for which grammar of the Listener is to be deactivated.

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

setResource

public void setResource(java.lang.String resource)
Sets the value of field 'resource'. The field 'resource' has the following description:

Specifies the interactive voice resource for this service. This parameter is required if there are multiple interactive voice resource per connection.

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

setRuleName

public void setRuleName(java.lang.String ruleName)
Sets the value of field 'ruleName'. The field 'ruleName' has the following description:

Specifies the rule name of the grammar to be deactivated.

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

unmarshalDeactivate

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

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