public class Rows extends Object implements Serializable
Constructor and Description |
---|
Rows() |
Modifier and Type | Method and Description |
---|---|
void |
addRowDef(int index,
RowDef vRowDef) |
void |
addRowDef(RowDef vRowDef) |
Enumeration<RowDef> |
enumerateRowDef()
Method enumerateRowDef.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
RowDef[] |
getRowDef()
Method getRowDef.Returns the contents of the collection in
an Array.
|
RowDef |
getRowDef(int index)
Method getRowDef.
|
List<RowDef> |
getRowDefCollection()
Method getRowDefCollection.Returns a reference to
'_rowDefList'.
|
int |
getRowDefCount()
Method getRowDefCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<RowDef> |
iterateRowDef()
Method iterateRowDef.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllRowDef() |
boolean |
removeRowDef(RowDef vRowDef)
Method removeRowDef.
|
RowDef |
removeRowDefAt(int index)
Method removeRowDefAt.
|
void |
setRowDef(int index,
RowDef vRowDef) |
void |
setRowDef(List<RowDef> vRowDefList)
Sets the value of '_rowDefList' by copying the given Vector.
|
void |
setRowDef(RowDef[] vRowDefArray) |
void |
setRowDefCollection(List<RowDef> rowDefList)
Deprecated.
|
static Rows |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addRowDef(RowDef vRowDef) throws IndexOutOfBoundsException
vRowDef
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addRowDef(int index, RowDef vRowDef) throws IndexOutOfBoundsException
index
- vRowDef
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<RowDef> enumerateRowDef()
public boolean equals(Object obj)
public RowDef getRowDef(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic RowDef[] getRowDef()
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 List<RowDef> getRowDefCollection()
public int getRowDefCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<RowDef> iterateRowDef()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllRowDef()
public boolean removeRowDef(RowDef vRowDef)
vRowDef
- public RowDef removeRowDefAt(int index)
index
- public void setRowDef(int index, RowDef vRowDef) throws IndexOutOfBoundsException
index
- vRowDef
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setRowDef(RowDef[] vRowDefArray)
vRowDefArray
- public void setRowDef(List<RowDef> vRowDefList)
vRowDefList
- the Vector to copy.public void setRowDefCollection(List<RowDef> rowDefList)
rowDefList
- the Vector to set.public static Rows unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.