org.iids.aos.systemservices.datatypes.wsagreement
Class ConstraintSectionType

java.lang.Object
  extended by org.iids.aos.systemservices.datatypes.wsagreement.ConstraintSectionType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CreationConstraints

public class ConstraintSectionType
extends java.lang.Object
implements java.io.Serializable

Class ConstraintSectionType.

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

Constructor Summary
ConstraintSectionType()
           
 
Method Summary
 void addConstraint(int index, java.lang.Object vConstraint)
          Method addConstraint
 void addConstraint(java.lang.Object vConstraint)
          Method addConstraint
 void addItem(int index, Item vItem)
          Method addItem
 void addItem(Item vItem)
          Method addItem
 java.util.Enumeration enumerateConstraint()
          Method enumerateConstraint
 java.util.Enumeration enumerateItem()
          Method enumerateItem
 java.lang.Object[] getConstraint()
          Method getConstraint
 java.lang.Object getConstraint(int index)
          Method getConstraint
 int getConstraintCount()
          Method getConstraintCount
 Item[] getItem()
          Method getItem
 Item getItem(int index)
          Method getItem
 int getItemCount()
          Method getItemCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllConstraint()
          Method removeAllConstraint
 void removeAllItem()
          Method removeAllItem
 java.lang.Object removeConstraint(int index)
          Method removeConstraint
 Item removeItem(int index)
          Method removeItem
 void setConstraint(int index, java.lang.Object vConstraint)
          Method setConstraint
 void setConstraint(java.lang.Object[] constraintArray)
          Method setConstraint
 void setItem(int index, Item vItem)
          Method setItem
 void setItem(Item[] itemArray)
          Method setItem
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintSectionType

public ConstraintSectionType()
Method Detail

addConstraint

public void addConstraint(java.lang.Object vConstraint)
                   throws java.lang.IndexOutOfBoundsException
Method addConstraint

Parameters:
vConstraint -
Throws:
java.lang.IndexOutOfBoundsException

addConstraint

public void addConstraint(int index,
                          java.lang.Object vConstraint)
                   throws java.lang.IndexOutOfBoundsException
Method addConstraint

Parameters:
index -
vConstraint -
Throws:
java.lang.IndexOutOfBoundsException

addItem

public void addItem(Item vItem)
             throws java.lang.IndexOutOfBoundsException
Method addItem

Parameters:
vItem -
Throws:
java.lang.IndexOutOfBoundsException

addItem

public void addItem(int index,
                    Item vItem)
             throws java.lang.IndexOutOfBoundsException
Method addItem

Parameters:
index -
vItem -
Throws:
java.lang.IndexOutOfBoundsException

enumerateConstraint

public java.util.Enumeration enumerateConstraint()
Method enumerateConstraint

Returns:
Enumeration

enumerateItem

public java.util.Enumeration enumerateItem()
Method enumerateItem

Returns:
Enumeration

getConstraint

public java.lang.Object getConstraint(int index)
                               throws java.lang.IndexOutOfBoundsException
Method getConstraint

Parameters:
index -
Returns:
Object
Throws:
java.lang.IndexOutOfBoundsException

getConstraint

public java.lang.Object[] getConstraint()
Method getConstraint

Returns:
Object

getConstraintCount

public int getConstraintCount()
Method getConstraintCount

Returns:
int

getItem

public Item getItem(int index)
             throws java.lang.IndexOutOfBoundsException
Method getItem

Parameters:
index -
Returns:
Item
Throws:
java.lang.IndexOutOfBoundsException

getItem

public Item[] getItem()
Method getItem

Returns:
Item

getItemCount

public int getItemCount()
Method getItemCount

Returns:
int

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

removeAllConstraint

public void removeAllConstraint()
Method removeAllConstraint


removeAllItem

public void removeAllItem()
Method removeAllItem


removeConstraint

public java.lang.Object removeConstraint(int index)
Method removeConstraint

Parameters:
index -
Returns:
Object

removeItem

public Item removeItem(int index)
Method removeItem

Parameters:
index -
Returns:
Item

setConstraint

public void setConstraint(int index,
                          java.lang.Object vConstraint)
                   throws java.lang.IndexOutOfBoundsException
Method setConstraint

Parameters:
index -
vConstraint -
Throws:
java.lang.IndexOutOfBoundsException

setConstraint

public void setConstraint(java.lang.Object[] constraintArray)
Method setConstraint

Parameters:
constraintArray -

setItem

public void setItem(int index,
                    Item vItem)
             throws java.lang.IndexOutOfBoundsException
Method setItem

Parameters:
index -
vItem -
Throws:
java.lang.IndexOutOfBoundsException

setItem

public void setItem(Item[] itemArray)
Method setItem

Parameters:
itemArray -

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

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


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.