public class Package extends Object implements Serializable
| Constructor and Description |
|---|
Package() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPackageReport(int index,
PackageReport vPackageReport) |
void |
addPackageReport(PackageReport vPackageReport) |
Enumeration<PackageReport> |
enumeratePackageReport()
Method enumeratePackageReport.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
Filter |
getFilter()
Returns the value of field 'filter'.
|
String |
getName()
Returns the value of field 'name'.
|
PackageReport[] |
getPackageReport()
Method getPackageReport.Returns the contents of the
collection in an Array.
|
PackageReport |
getPackageReport(int index)
Method getPackageReport.
|
List<PackageReport> |
getPackageReportCollection()
Method getPackageReportCollection.Returns a reference to
'_packageReportList'.
|
int |
getPackageReportCount()
Method getPackageReportCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<PackageReport> |
iteratePackageReport()
Method iteratePackageReport.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllPackageReport() |
boolean |
removePackageReport(PackageReport vPackageReport)
Method removePackageReport.
|
PackageReport |
removePackageReportAt(int index)
Method removePackageReportAt.
|
void |
setFilter(Filter filter)
Sets the value of field 'filter'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setPackageReport(int index,
PackageReport vPackageReport) |
void |
setPackageReport(List<PackageReport> vPackageReportList)
Sets the value of '_packageReportList' by copying the given
Vector.
|
void |
setPackageReport(PackageReport[] vPackageReportArray) |
void |
setPackageReportCollection(List<PackageReport> packageReportList)
Deprecated.
|
static Package |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addPackageReport(PackageReport vPackageReport) throws IndexOutOfBoundsException
vPackageReport - IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void addPackageReport(int index,
PackageReport vPackageReport)
throws IndexOutOfBoundsException
index - vPackageReport - IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<PackageReport> enumeratePackageReport()
public boolean equals(Object obj)
public Filter getFilter()
public String getName()
public PackageReport getPackageReport(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic PackageReport[] getPackageReport()
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<PackageReport> getPackageReportCollection()
public int getPackageReportCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<PackageReport> iteratePackageReport()
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 removeAllPackageReport()
public boolean removePackageReport(PackageReport vPackageReport)
vPackageReport - public PackageReport removePackageReportAt(int index)
index - public void setFilter(Filter filter)
filter - the value of field 'filter'.public void setName(String name)
name - the value of field 'name'.public void setPackageReport(int index,
PackageReport vPackageReport)
throws IndexOutOfBoundsException
index - vPackageReport - IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setPackageReport(PackageReport[] vPackageReportArray)
vPackageReportArray - public void setPackageReport(List<PackageReport> vPackageReportList)
vPackageReportList - the Vector to copy.public void setPackageReportCollection(List<PackageReport> packageReportList)
packageReportList - the Vector to set.public static Package 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 © 2015. All rights reserved.