java.io.Serializable
public class ClassType
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
ClassType() |
Modifier and Type | Method | Description |
---|---|---|
void |
addImplements(int index,
java.lang.String vImplements) |
|
void |
addImplements(java.lang.String vImplements) |
|
void |
deleteAbstract() |
|
void |
deleteBound() |
|
void |
deleteEquals() |
|
void |
deleteFinal() |
|
java.util.Enumeration |
enumerateImplements() |
Method enumerateImplements.
|
boolean |
getAbstract() |
Returns the value of field 'abstract'.
|
boolean |
getBound() |
Returns the value of field 'bound'.
|
boolean |
getEquals() |
Returns the value of field 'equals'.
|
java.lang.String |
getExtends() |
Returns the value of field 'extends'.
|
boolean |
getFinal() |
Returns the value of field 'final'.
|
java.lang.String[] |
getImplements() |
Method getImplements.Returns the contents of the collection
in an Array.
|
java.lang.String |
getImplements(int index) |
Method getImplements.
|
int |
getImplementsCount() |
Method getImplementsCount.
|
java.lang.String |
getName() |
Returns the value of field 'name'.
|
java.lang.String |
getPackage() |
Returns the value of field 'package'.
|
boolean |
hasAbstract() |
Method hasAbstract.
|
boolean |
hasBound() |
Method hasBound.
|
boolean |
hasEquals() |
Method hasEquals.
|
boolean |
hasFinal() |
Method hasFinal.
|
boolean |
isAbstract() |
Returns the value of field 'abstract'.
|
boolean |
isBound() |
Returns the value of field 'bound'.
|
boolean |
isEquals() |
Returns the value of field 'equals'.
|
boolean |
isFinal() |
Returns the value of field 'final'.
|
boolean |
isValid() |
Method isValid.
|
java.util.Iterator |
iterateImplements() |
Method iterateImplements.
|
void |
marshal(java.io.Writer out) |
|
void |
marshal(org.xml.sax.ContentHandler handler) |
|
void |
removeAllImplements() |
|
boolean |
removeImplements(java.lang.String vImplements) |
Method removeImplements.
|
java.lang.String |
removeImplementsAt(int index) |
Method removeImplementsAt.
|
void |
setAbstract(boolean _abstract) |
Sets the value of field 'abstract'.
|
void |
setBound(boolean bound) |
Sets the value of field 'bound'.
|
void |
setEquals(boolean equals) |
Sets the value of field 'equals'.
|
void |
setExtends(java.lang.String _extends) |
Sets the value of field 'extends'.
|
void |
setFinal(boolean _final) |
Sets the value of field 'final'.
|
void |
setImplements(int index,
java.lang.String vImplements) |
|
void |
setImplements(java.lang.String[] vImplementsArray) |
|
void |
setName(java.lang.String name) |
Sets the value of field 'name'.
|
void |
setPackage(java.lang.String _package) |
Sets the value of field 'package'.
|
static ClassType |
unmarshalClassType(java.io.Reader reader) |
Method unmarshalClassType.
|
void |
validate() |
public void addImplements(java.lang.String vImplements) throws java.lang.IndexOutOfBoundsException
vImplements
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addImplements(int index, java.lang.String vImplements) throws java.lang.IndexOutOfBoundsException
index
- vImplements
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteAbstract()
public void deleteBound()
public void deleteEquals()
public void deleteFinal()
public java.util.Enumeration enumerateImplements()
public boolean getAbstract()
public boolean getBound()
public boolean getEquals()
public java.lang.String getExtends()
public boolean getFinal()
public java.lang.String getImplements(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getImplements()
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 getImplementsCount()
public java.lang.String getName()
public java.lang.String getPackage()
public boolean hasAbstract()
public boolean hasBound()
public boolean hasEquals()
public boolean hasFinal()
public boolean isAbstract()
public boolean isBound()
public boolean isEquals()
public boolean isFinal()
public boolean isValid()
public java.util.Iterator iterateImplements()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
- java.io.IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllImplements()
public boolean removeImplements(java.lang.String vImplements)
vImplements
- public java.lang.String removeImplementsAt(int index)
index
- public void setAbstract(boolean _abstract)
_abstract
- abstract
- the value of field 'abstract'.public void setBound(boolean bound)
bound
- the value of field 'bound'.public void setEquals(boolean equals)
equals
- the value of field 'equals'.public void setExtends(java.lang.String _extends)
_extends
- extends
- the value of field 'extends'.public void setFinal(boolean _final)
_final
- final
- the value of field 'final'.public void setImplements(int index, java.lang.String vImplements) throws java.lang.IndexOutOfBoundsException
index
- vImplements
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setImplements(java.lang.String[] vImplementsArray)
vImplementsArray
- public void setName(java.lang.String name)
name
- the value of field 'name'.public void setPackage(java.lang.String _package)
_package
- package
- the value of field 'package'.public static ClassType unmarshalClassType(java.io.Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schemaIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com