|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.test.test2996.onetomany.House
public class House
| Constructor Summary | |
|---|---|
House()
|
|
| Method Summary | |
|---|---|
void |
addFlats(Flat vFlats)
|
void |
addFlats(int index,
Flat vFlats)
|
void |
deleteId()
|
Enumeration<? extends Flat> |
enumerateFlats()
Method enumerateFlats. |
Flat[] |
getFlats()
Method getFlats.Returns the contents of the collection in an Array. |
Flat |
getFlats(int index)
Method getFlats. |
int |
getFlatsCount()
Method getFlatsCount. |
long |
getId()
Returns the value of field 'id'. |
boolean |
hasId()
Method hasId. |
boolean |
isValid()
Method isValid. |
Iterator<? extends Flat> |
iterateFlats()
Method iterateFlats. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllFlats()
|
boolean |
removeFlats(Flat vFlats)
Method removeFlats. |
Flat |
removeFlatsAt(int index)
Method removeFlatsAt. |
void |
setFlats(Flat[] vFlatsArray)
|
void |
setFlats(int index,
Flat vFlats)
|
void |
setId(long id)
Sets the value of field 'id'. |
static House |
unmarshalHouse(Reader reader)
Method unmarshalHouse. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public House()
| Method Detail |
|---|
public void addFlats(Flat vFlats)
throws IndexOutOfBoundsException
vFlats -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addFlats(int index,
Flat vFlats)
throws IndexOutOfBoundsException
index - vFlats -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteId()
public Enumeration<? extends Flat> enumerateFlats()
public Flat getFlats(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Flat[] getFlats()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getFlatsCount()
public long getId()
public boolean hasId()
public boolean isValid()
public Iterator<? extends Flat> iterateFlats()
public void marshal(Writer out)
throws MarshalException,
ValidationException
out -
MarshalException - if object is
null or if any SAXException is thrown during marshaling
ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
MarshalException,
ValidationException
handler -
IOException - if an IOException occurs during
marshaling
ValidationException - if this
object is an invalid instance according to the schema
MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllFlats()
public boolean removeFlats(Flat vFlats)
vFlats -
public Flat removeFlatsAt(int index)
index -
public void setFlats(int index,
Flat vFlats)
throws IndexOutOfBoundsException
index - vFlats -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setFlats(Flat[] vFlatsArray)
vFlatsArray - public void setId(long id)
id - the value of field 'id'.
public static House unmarshalHouse(Reader reader)
throws MarshalException,
ValidationException
reader -
MarshalException - if object is
null or if any SAXException is thrown during marshaling
ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws ValidationException
ValidationException - if this
object is an invalid instance according to the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||