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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_version
private java.lang.String _version
_personList
private java.util.ArrayList _personList
_projektList
private java.util.ArrayList _projektList
ProjektVerwaltung
public ProjektVerwaltung()
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