4.1.0.610 20071213

ch.ecma.csta.binding
Class Period

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

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

Class Period.

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

Constructor Summary
Period()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 AbsolutePositionType getAbsolutePosition()
          Returns the value of field 'absolutePosition'.
 java.lang.Object getChoiceValue()
          Returns the value of field 'choiceValue'.
 java.lang.Long getRelativePosition()
          Returns the value of field 'relativePosition'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setAbsolutePosition(AbsolutePositionType absolutePosition)
          Sets the value of field 'absolutePosition'.
 void setRelativePosition(java.lang.Long relativePosition)
          Sets the value of field 'relativePosition'.
static Period unmarshalPeriod(java.io.Reader reader)
          Method unmarshalPeriod
 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

Period

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

getAbsolutePosition

public AbsolutePositionType getAbsolutePosition()
Returns the value of field 'absolutePosition'.

Returns:
AbsolutePositionType

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

getRelativePosition

public java.lang.Long getRelativePosition()
Returns the value of field 'relativePosition'.

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

setAbsolutePosition

public void setAbsolutePosition(AbsolutePositionType absolutePosition)
Sets the value of field 'absolutePosition'.

Parameters:
absolutePosition - the value of field 'absolutePosition'

setRelativePosition

public void setRelativePosition(java.lang.Long relativePosition)
Sets the value of field 'relativePosition'.

Parameters:
relativePosition - the value of field 'relativePosition'

unmarshalPeriod

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

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