public class Systems extends Object implements Serializable
Constructor and Description |
---|
Systems() |
Modifier and Type | Method and Description |
---|---|
void |
addSystemDef(int index,
SystemDef systemDef) |
void |
addSystemDef(SystemDef systemDef) |
Enumeration<SystemDef> |
enumerateSystemDef()
Method enumerateSystemDef.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
SystemDef[] |
getSystemDef()
Method getSystemDef.Returns the contents of the collection
in an Array.
|
SystemDef |
getSystemDef(int index)
Method getSystemDef.
|
List<SystemDef> |
getSystemDefCollection()
Method getSystemDefCollection.Returns a reference to
'_systemDefList'.
|
int |
getSystemDefCount()
Method getSystemDefCount.
|
int |
hashCode()
Overrides the Object.hashCode method.
|
boolean |
isValid()
Deprecated.
|
Iterator<SystemDef> |
iterateSystemDef()
Method iterateSystemDef.
|
void |
marshal(ContentHandler handler)
Deprecated.
|
void |
marshal(Writer out)
Deprecated.
|
void |
removeAllSystemDef() |
boolean |
removeSystemDef(SystemDef systemDef)
Method removeSystemDef.
|
SystemDef |
removeSystemDefAt(int index)
Method removeSystemDefAt.
|
void |
setSystemDef(int index,
SystemDef systemDef) |
void |
setSystemDef(List<SystemDef> systemDefs)
Sets the value of '_systemDefList' by copying the given
Vector.
|
void |
setSystemDef(SystemDef[] systemDefs) |
void |
setSystemDefCollection(List<SystemDef> systemDefs)
Deprecated.
|
static Systems |
unmarshal(Reader reader)
Deprecated.
|
void |
validate()
Deprecated.
|
public void addSystemDef(SystemDef systemDef) throws IndexOutOfBoundsException
systemDef
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSystemDef(int index, SystemDef systemDef) throws IndexOutOfBoundsException
index
- systemDef
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<SystemDef> enumerateSystemDef()
public boolean equals(Object obj)
public SystemDef getSystemDef(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic SystemDef[] getSystemDef()
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<SystemDef> getSystemDefCollection()
public int getSystemDefCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
@Deprecated public boolean isValid()
public Iterator<SystemDef> iterateSystemDef()
@Deprecated 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 schema@Deprecated public 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 removeAllSystemDef()
public boolean removeSystemDef(SystemDef systemDef)
systemDef
- public SystemDef removeSystemDefAt(int index)
index
- public void setSystemDef(int index, SystemDef systemDef) throws IndexOutOfBoundsException
index
- systemDef
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSystemDef(SystemDef[] systemDefs)
systemDefs
- public void setSystemDef(List<SystemDef> systemDefs)
systemDefs
- the Vector to copy.public void setSystemDefCollection(List<SystemDef> systemDefs)
systemDefs
- the Vector to set.@Deprecated public static Systems 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 schema@Deprecated public 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.