Interface HierarchicalCodeType
-
- All Superinterfaces:
AnnotableType,HierarchicalCodeBaseType,IdentifiableType,org.apache.xmlbeans.XmlObject,org.apache.xmlbeans.XmlTokenSource
- All Known Implementing Classes:
HierarchicalCodeTypeImpl
public interface HierarchicalCodeType extends HierarchicalCodeBaseType
An XML HierarchicalCodeType(@http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure). This is a complex type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHierarchicalCodeType.FactoryA factory class with static methods for creating instances of this type.
-
Field Summary
Fields Modifier and Type Field Description static org.apache.xmlbeans.SchemaTypetype
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CodeReferenceTypeaddNewCode()Appends and returns a new empty "Code" elementLocalCodeReferenceTypeaddNewCodeID()Appends and returns a new empty "CodeID" elementHierarchicalCodeTypeaddNewHierarchicalCode()Appends and returns a new empty value (as xml) as the last "HierarchicalCode" elementLocalLevelReferenceTypeaddNewLevel()Appends and returns a new empty "Level" elementCodeReferenceTypegetCode()Gets the "Code" elementLocalCodeReferenceTypegetCodeID()Gets the "CodeID" elementStringgetCodelistAliasRef()Gets the "CodelistAliasRef" elementHierarchicalCodeType[]getHierarchicalCodeArray()Gets array of all "HierarchicalCode" elementsHierarchicalCodeTypegetHierarchicalCodeArray(int i)Gets ith "HierarchicalCode" elementLocalLevelReferenceTypegetLevel()Gets the "Level" elementCalendargetValidFrom()Gets the "validFrom" attributeCalendargetValidTo()Gets the "validTo" attributeStringgetVersion()Gets the "version" attributeHierarchicalCodeTypeinsertNewHierarchicalCode(int i)Inserts and returns a new empty value (as xml) as the ith "HierarchicalCode" elementbooleanisSetCode()True if has "Code" elementbooleanisSetCodeID()True if has "CodeID" elementbooleanisSetCodelistAliasRef()True if has "CodelistAliasRef" elementbooleanisSetLevel()True if has "Level" elementbooleanisSetValidFrom()True if has "validFrom" attributebooleanisSetValidTo()True if has "validTo" attributebooleanisSetVersion()True if has "version" attributevoidremoveHierarchicalCode(int i)Removes the ith "HierarchicalCode" elementvoidsetCode(CodeReferenceType code)Sets the "Code" elementvoidsetCodeID(LocalCodeReferenceType codeID)Sets the "CodeID" elementvoidsetCodelistAliasRef(String codelistAliasRef)Sets the "CodelistAliasRef" elementvoidsetHierarchicalCodeArray(int i, HierarchicalCodeType hierarchicalCode)Sets ith "HierarchicalCode" elementvoidsetHierarchicalCodeArray(HierarchicalCodeType[] hierarchicalCodeArray)Sets array of all "HierarchicalCode" elementvoidsetLevel(LocalLevelReferenceType level)Sets the "Level" elementvoidsetValidFrom(Calendar validFrom)Sets the "validFrom" attributevoidsetValidTo(Calendar validTo)Sets the "validTo" attributevoidsetVersion(String version)Sets the "version" attributeintsizeOfHierarchicalCodeArray()Returns number of "HierarchicalCode" elementvoidunsetCode()Unsets the "Code" elementvoidunsetCodeID()Unsets the "CodeID" elementvoidunsetCodelistAliasRef()Unsets the "CodelistAliasRef" elementvoidunsetLevel()Unsets the "Level" elementvoidunsetValidFrom()Unsets the "validFrom" attributevoidunsetValidTo()Unsets the "validTo" attributevoidunsetVersion()Unsets the "version" attributeIDTypexgetCodelistAliasRef()Gets (as xml) the "CodelistAliasRef" elementorg.apache.xmlbeans.XmlDateTimexgetValidFrom()Gets (as xml) the "validFrom" attributeorg.apache.xmlbeans.XmlDateTimexgetValidTo()Gets (as xml) the "validTo" attributeVersionTypexgetVersion()Gets (as xml) the "version" attributevoidxsetCodelistAliasRef(IDType codelistAliasRef)Sets (as xml) the "CodelistAliasRef" elementvoidxsetValidFrom(org.apache.xmlbeans.XmlDateTime validFrom)Sets (as xml) the "validFrom" attributevoidxsetValidTo(org.apache.xmlbeans.XmlDateTime validTo)Sets (as xml) the "validTo" attributevoidxsetVersion(VersionType version)Sets (as xml) the "version" attribute-
Methods inherited from interface org.sdmx.resources.sdmxml.schemas.v21.common.AnnotableType
addNewAnnotations, getAnnotations, isSetAnnotations, setAnnotations, unsetAnnotations
-
Methods inherited from interface org.sdmx.resources.sdmxml.schemas.v21.structure.HierarchicalCodeBaseType
getId, isSetId, setId, unsetId, xgetId, xsetId
-
Methods inherited from interface org.sdmx.resources.sdmxml.schemas.v21.structure.IdentifiableType
getUri, getUrn, isSetUri, isSetUrn, setUri, setUrn, unsetUri, unsetUrn, xgetUri, xgetUrn, xsetUri, xsetUrn
-
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
-
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
-
-
-
Method Detail
-
getCode
CodeReferenceType getCode()
Gets the "Code" element
-
isSetCode
boolean isSetCode()
True if has "Code" element
-
setCode
void setCode(CodeReferenceType code)
Sets the "Code" element
-
addNewCode
CodeReferenceType addNewCode()
Appends and returns a new empty "Code" element
-
unsetCode
void unsetCode()
Unsets the "Code" element
-
getCodelistAliasRef
String getCodelistAliasRef()
Gets the "CodelistAliasRef" element
-
xgetCodelistAliasRef
IDType xgetCodelistAliasRef()
Gets (as xml) the "CodelistAliasRef" element
-
isSetCodelistAliasRef
boolean isSetCodelistAliasRef()
True if has "CodelistAliasRef" element
-
setCodelistAliasRef
void setCodelistAliasRef(String codelistAliasRef)
Sets the "CodelistAliasRef" element
-
xsetCodelistAliasRef
void xsetCodelistAliasRef(IDType codelistAliasRef)
Sets (as xml) the "CodelistAliasRef" element
-
unsetCodelistAliasRef
void unsetCodelistAliasRef()
Unsets the "CodelistAliasRef" element
-
getCodeID
LocalCodeReferenceType getCodeID()
Gets the "CodeID" element
-
isSetCodeID
boolean isSetCodeID()
True if has "CodeID" element
-
setCodeID
void setCodeID(LocalCodeReferenceType codeID)
Sets the "CodeID" element
-
addNewCodeID
LocalCodeReferenceType addNewCodeID()
Appends and returns a new empty "CodeID" element
-
unsetCodeID
void unsetCodeID()
Unsets the "CodeID" element
-
getHierarchicalCodeArray
HierarchicalCodeType[] getHierarchicalCodeArray()
Gets array of all "HierarchicalCode" elements
-
getHierarchicalCodeArray
HierarchicalCodeType getHierarchicalCodeArray(int i)
Gets ith "HierarchicalCode" element
-
sizeOfHierarchicalCodeArray
int sizeOfHierarchicalCodeArray()
Returns number of "HierarchicalCode" element
-
setHierarchicalCodeArray
void setHierarchicalCodeArray(HierarchicalCodeType[] hierarchicalCodeArray)
Sets array of all "HierarchicalCode" element
-
setHierarchicalCodeArray
void setHierarchicalCodeArray(int i, HierarchicalCodeType hierarchicalCode)Sets ith "HierarchicalCode" element
-
insertNewHierarchicalCode
HierarchicalCodeType insertNewHierarchicalCode(int i)
Inserts and returns a new empty value (as xml) as the ith "HierarchicalCode" element
-
addNewHierarchicalCode
HierarchicalCodeType addNewHierarchicalCode()
Appends and returns a new empty value (as xml) as the last "HierarchicalCode" element
-
removeHierarchicalCode
void removeHierarchicalCode(int i)
Removes the ith "HierarchicalCode" element
-
getLevel
LocalLevelReferenceType getLevel()
Gets the "Level" element
-
isSetLevel
boolean isSetLevel()
True if has "Level" element
-
setLevel
void setLevel(LocalLevelReferenceType level)
Sets the "Level" element
-
addNewLevel
LocalLevelReferenceType addNewLevel()
Appends and returns a new empty "Level" element
-
unsetLevel
void unsetLevel()
Unsets the "Level" element
-
getVersion
String getVersion()
Gets the "version" attribute
-
xgetVersion
VersionType xgetVersion()
Gets (as xml) the "version" attribute
-
isSetVersion
boolean isSetVersion()
True if has "version" attribute
-
setVersion
void setVersion(String version)
Sets the "version" attribute
-
xsetVersion
void xsetVersion(VersionType version)
Sets (as xml) the "version" attribute
-
unsetVersion
void unsetVersion()
Unsets the "version" attribute
-
getValidFrom
Calendar getValidFrom()
Gets the "validFrom" attribute
-
xgetValidFrom
org.apache.xmlbeans.XmlDateTime xgetValidFrom()
Gets (as xml) the "validFrom" attribute
-
isSetValidFrom
boolean isSetValidFrom()
True if has "validFrom" attribute
-
setValidFrom
void setValidFrom(Calendar validFrom)
Sets the "validFrom" attribute
-
xsetValidFrom
void xsetValidFrom(org.apache.xmlbeans.XmlDateTime validFrom)
Sets (as xml) the "validFrom" attribute
-
unsetValidFrom
void unsetValidFrom()
Unsets the "validFrom" attribute
-
getValidTo
Calendar getValidTo()
Gets the "validTo" attribute
-
xgetValidTo
org.apache.xmlbeans.XmlDateTime xgetValidTo()
Gets (as xml) the "validTo" attribute
-
isSetValidTo
boolean isSetValidTo()
True if has "validTo" attribute
-
setValidTo
void setValidTo(Calendar validTo)
Sets the "validTo" attribute
-
xsetValidTo
void xsetValidTo(org.apache.xmlbeans.XmlDateTime validTo)
Sets (as xml) the "validTo" attribute
-
unsetValidTo
void unsetValidTo()
Unsets the "validTo" attribute
-
-