TestApp
Class ProjektVerwaltung

java.lang.Object
  |
  +--TestApp.ProjektVerwaltung
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Field Summary
private  java.util.ArrayList _personList
           
private  java.util.ArrayList _projektList
           
private  java.lang.String _version
           
 
Constructor Summary
ProjektVerwaltung()
           
 
Method Summary
 void addPerson(int index, TestApp.Person vPerson)
           
 void addPerson(TestApp.Person vPerson)
           
 void addProjekt(int index, TestApp.Projekt vProjekt)
           
 void addProjekt(TestApp.Projekt vProjekt)
           
 void clearPerson()
           
 void clearProjekt()
           
 java.util.Enumeration enumeratePerson()
           
 java.util.Enumeration enumerateProjekt()
           
 TestApp.Person[] getPerson()
           
 TestApp.Person getPerson(int index)
           
 int getPersonCount()
           
 TestApp.Projekt[] getProjekt()
           
 TestApp.Projekt getProjekt(int index)
           
 int getProjektCount()
           
 java.lang.String getVersion()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 boolean removePerson(TestApp.Person vPerson)
           
 boolean removeProjekt(TestApp.Projekt vProjekt)
           
 void setPerson(int index, TestApp.Person vPerson)
           
 void setPerson(TestApp.Person[] personArray)
           
 void setProjekt(int index, TestApp.Projekt vProjekt)
           
 void setProjekt(TestApp.Projekt[] projektArray)
           
 void setVersion(java.lang.String version)
           
static TestApp.ProjektVerwaltung unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_version

private java.lang.String _version

_personList

private java.util.ArrayList _personList

_projektList

private java.util.ArrayList _projektList
Constructor Detail

ProjektVerwaltung

public ProjektVerwaltung()
Method Detail

addPerson

public void addPerson(TestApp.Person vPerson)
               throws java.lang.IndexOutOfBoundsException
Parameters:
vPerson -
java.lang.IndexOutOfBoundsException

addPerson

public void addPerson(int index,
                      TestApp.Person vPerson)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPerson -
java.lang.IndexOutOfBoundsException

addProjekt

public void addProjekt(TestApp.Projekt vProjekt)
                throws java.lang.IndexOutOfBoundsException
Parameters:
vProjekt -
java.lang.IndexOutOfBoundsException

addProjekt

public void addProjekt(int index,
                       TestApp.Projekt vProjekt)
                throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vProjekt -
java.lang.IndexOutOfBoundsException

clearPerson

public void clearPerson()

clearProjekt

public void clearProjekt()

enumeratePerson

public java.util.Enumeration enumeratePerson()

enumerateProjekt

public java.util.Enumeration enumerateProjekt()

getPerson

public TestApp.Person getPerson(int index)
                         throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getPerson

public TestApp.Person[] getPerson()

getPersonCount

public int getPersonCount()

getProjekt

public TestApp.Projekt getProjekt(int index)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getProjekt

public TestApp.Projekt[] getProjekt()

getProjektCount

public int getProjektCount()

getVersion

public java.lang.String getVersion()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removePerson

public boolean removePerson(TestApp.Person vPerson)
Parameters:
vPerson -

removeProjekt

public boolean removeProjekt(TestApp.Projekt vProjekt)
Parameters:
vProjekt -

setPerson

public void setPerson(int index,
                      TestApp.Person vPerson)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPerson -
java.lang.IndexOutOfBoundsException

setPerson

public void setPerson(TestApp.Person[] personArray)
Parameters:
personArray -

setProjekt

public void setProjekt(int index,
                       TestApp.Projekt vProjekt)
                throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vProjekt -
java.lang.IndexOutOfBoundsException

setProjekt

public void setProjekt(TestApp.Projekt[] projektArray)
Parameters:
projektArray -

setVersion

public void setVersion(java.lang.String version)
Parameters:
version -

unmarshal

public static TestApp.ProjektVerwaltung unmarshal(java.io.Reader reader)
                                           throws org.exolab.castor.xml.MarshalException,
                                                  org.exolab.castor.xml.ValidationException
Parameters:
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException