public class CompAttrib extends Object implements Serializable
Constructor and Description |
---|
CompAttrib() |
Modifier and Type | Method and Description |
---|---|
void |
addCompMember(CompMember vCompMember) |
void |
addCompMember(int index,
CompMember vCompMember) |
Enumeration<CompMember> |
enumerateCompMember()
Method enumerateCompMember.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getAlias()
Returns the value of field 'alias'.
|
CompMember[] |
getCompMember()
Method getCompMember.Returns the contents of the collection
in an Array.
|
CompMember |
getCompMember(int index)
Method getCompMember.
|
List<CompMember> |
getCompMemberCollection()
Method getCompMemberCollection.Returns a reference to
'_compMemberList'.
|
int |
getCompMemberCount()
Method getCompMemberCount.
|
String |
getName()
Returns the value of field 'name'.
|
String |
getType()
Returns the value of field 'type'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Deprecated.
|
Iterator<CompMember> |
iterateCompMember()
Method iterateCompMember.
|
void |
marshal(ContentHandler handler)
Deprecated.
|
void |
marshal(Writer out)
Deprecated.
|
void |
removeAllCompMember() |
boolean |
removeCompMember(CompMember vCompMember)
Method removeCompMember.
|
CompMember |
removeCompMemberAt(int index)
Method removeCompMemberAt.
|
void |
setAlias(String alias)
Sets the value of field 'alias'.
|
void |
setCompMember(CompMember[] vCompMemberArray) |
void |
setCompMember(int index,
CompMember vCompMember) |
void |
setCompMember(List<CompMember> vCompMemberList)
Sets the value of '_compMemberList' by copying the given
Vector.
|
void |
setCompMemberCollection(List<CompMember> compMemberList)
Deprecated.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setType(String type)
Sets the value of field 'type'.
|
static CompAttrib |
unmarshal(Reader reader)
Deprecated.
|
void |
validate()
Deprecated.
|
public void addCompMember(CompMember vCompMember) throws IndexOutOfBoundsException
vCompMember
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addCompMember(int index, CompMember vCompMember) throws IndexOutOfBoundsException
index
- vCompMember
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<CompMember> enumerateCompMember()
public boolean equals(Object obj)
public String getAlias()
public CompMember getCompMember(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic CompMember[] getCompMember()
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<CompMember> getCompMemberCollection()
public int getCompMemberCount()
public String getName()
public String getType()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
@Deprecated public boolean isValid()
public Iterator<CompMember> iterateCompMember()
@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 removeAllCompMember()
public boolean removeCompMember(CompMember vCompMember)
vCompMember
- public CompMember removeCompMemberAt(int index)
index
- public void setAlias(String alias)
alias
- the value of field 'alias'.public void setCompMember(int index, CompMember vCompMember) throws IndexOutOfBoundsException
index
- vCompMember
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setCompMember(CompMember[] vCompMemberArray)
vCompMemberArray
- public void setCompMember(List<CompMember> vCompMemberList)
vCompMemberList
- the Vector to copy.public void setCompMemberCollection(List<CompMember> compMemberList)
compMemberList
- the Vector to set.public void setName(String name)
name
- the value of field 'name'.public void setType(String type)
type
- the value of field 'type'.@Deprecated public static CompAttrib 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 © 2017. All rights reserved.