public class SupportedHierarchy extends URIMap implements java.io.Serializable
Constructor and Description |
---|
SupportedHierarchy() |
SupportedHierarchy(java.lang.String defaultValue) |
Modifier and Type | Method and Description |
---|---|
void |
addAssociationNames(int index,
java.lang.String vAssociationNames) |
void |
addAssociationNames(java.lang.String vAssociationNames) |
java.util.Enumeration<? extends java.lang.String> |
enumerateAssociationNames()
Method enumerateAssociationNames.
|
java.lang.String[] |
getAssociationNames()
Method getAssociationNames.Returns the contents of the
collection in an Array.
|
java.lang.String |
getAssociationNames(int index)
Method getAssociationNames.
|
java.util.List<java.lang.String> |
getAssociationNamesAsReference()
Method getAssociationNamesAsReference.Returns a reference to
'_associationNamesList'.
|
int |
getAssociationNamesCount()
Method getAssociationNamesCount.
|
java.lang.String |
getContent()
Returns the value of field 'content'.
|
java.lang.Boolean |
getIsForwardNavigable()
Returns the value of field 'isForwardNavigable'.
|
java.lang.String |
getRootCode()
Returns the value of field 'rootCode'.
|
java.lang.Boolean |
isIsForwardNavigable()
Returns the value of field 'isForwardNavigable'.
|
boolean |
isValid()
Method isValid.
|
java.util.Iterator<? extends java.lang.String> |
iterateAssociationNames()
Method iterateAssociationNames.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
removeAllAssociationNames() |
boolean |
removeAssociationNames(java.lang.String vAssociationNames)
Method removeAssociationNames.
|
java.lang.String |
removeAssociationNamesAt(int index)
Method removeAssociationNamesAt.
|
void |
setAssociationNames(int index,
java.lang.String vAssociationNames) |
void |
setAssociationNames(java.util.List<java.lang.String> vAssociationNamesList)
Sets the value of '_associationNamesList' by copying the
given Vector.
|
void |
setAssociationNames(java.lang.String[] vAssociationNamesArray) |
void |
setAssociationNamesAsReference(java.util.List<java.lang.String> associationNamesList)
Deprecated.
|
void |
setContent(java.lang.String content)
Sets the value of field 'content'.
|
void |
setIsForwardNavigable(java.lang.Boolean isForwardNavigable)
Sets the value of field 'isForwardNavigable'.
|
void |
setRootCode(java.lang.String rootCode)
Sets the value of field 'rootCode'.
|
static SupportedHierarchy |
unmarshalSupportedHierarchy(java.io.Reader reader)
Method unmarshalSupportedHierarchy.
|
void |
validate() |
getLocalId, getUri, setLocalId, setUri, unmarshalURIMap
getParent, setParent
public SupportedHierarchy()
public SupportedHierarchy(java.lang.String defaultValue)
public void addAssociationNames(java.lang.String vAssociationNames) throws java.lang.IndexOutOfBoundsException
vAssociationNames
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAssociationNames(int index, java.lang.String vAssociationNames) throws java.lang.IndexOutOfBoundsException
index
- vAssociationNames
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends java.lang.String> enumerateAssociationNames()
public java.lang.String getAssociationNames(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getAssociationNames()
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 java.util.List<java.lang.String> getAssociationNamesAsReference()
public int getAssociationNamesCount()
public java.lang.String getContent()
getContent
in class URIMap
public java.lang.Boolean getIsForwardNavigable()
public java.lang.String getRootCode()
public java.lang.Boolean isIsForwardNavigable()
public boolean isValid()
public java.util.Iterator<? extends java.lang.String> iterateAssociationNames()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
marshal
in class URIMap
handler
- java.io.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 removeAllAssociationNames()
public boolean removeAssociationNames(java.lang.String vAssociationNames)
vAssociationNames
- public java.lang.String removeAssociationNamesAt(int index)
index
- public void setAssociationNames(int index, java.lang.String vAssociationNames) throws java.lang.IndexOutOfBoundsException
index
- vAssociationNames
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAssociationNames(java.lang.String[] vAssociationNamesArray)
vAssociationNamesArray
- public void setAssociationNames(java.util.List<java.lang.String> vAssociationNamesList)
vAssociationNamesList
- the Vector to copy.public void setAssociationNamesAsReference(java.util.List<java.lang.String> associationNamesList)
associationNamesList
- the Vector to set.public void setContent(java.lang.String content)
setContent
in class URIMap
content
- the value of field 'content'.public void setIsForwardNavigable(java.lang.Boolean isForwardNavigable)
isForwardNavigable
- the value of field
'isForwardNavigable'.public void setRootCode(java.lang.String rootCode)
rootCode
- the value of field 'rootCode'.public static SupportedHierarchy unmarshalSupportedHierarchy(java.io.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