|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_0.structure.CategoryType
public class CategoryType
The category is given a human-readable name (which may be in multiple language-specific versions), and may optionally have a human-readable description (also in multiple, landuage-specific versions). Annotations may be provided in the Annotations element. References to dataflows and metadataflows may be provided. The Category element represents a set of nested categories which are child categories. The Category must have a unique ID within the Category Scheme provided in the id attribute. A version may also be supplied - if ommitted, the version is understood to be "1.0". The urn attribute holds a valid registry URN (see the SDMX Registry Specification).
Java class for CategoryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CategoryType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Name" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TextType" maxOccurs="unbounded"/>
<element name="Description" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TextType" maxOccurs="unbounded" minOccurs="0"/>
<element name="DataflowRef" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}DataflowRefType" maxOccurs="unbounded" minOccurs="0"/>
<element name="MetadataflowRef" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}MetadataflowRefType" maxOccurs="unbounded" minOccurs="0"/>
<element name="Category" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}CategoryType" maxOccurs="unbounded" minOccurs="0"/>
<element name="Annotations" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}AnnotationsType" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType" />
<attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="urn" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="isExternalReference" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected AnnotationsType |
annotations
|
protected List<CategoryType> |
category
|
protected List<DataflowRefType> |
dataflowRef
|
protected List<TextType> |
description
|
protected String |
id
|
protected Boolean |
isExternalReference
|
protected List<MetadataflowRefType> |
metadataflowRef
|
protected List<TextType> |
name
|
protected String |
uri
|
protected String |
urn
|
protected String |
version
|
| Constructor Summary | |
|---|---|
CategoryType()
|
|
| Method Summary | |
|---|---|
AnnotationsType |
getAnnotations()
Gets the value of the annotations property. |
List<CategoryType> |
getCategory()
Gets the value of the category property. |
List<DataflowRefType> |
getDataflowRef()
Gets the value of the dataflowRef property. |
List<TextType> |
getDescription()
Gets the value of the description property. |
String |
getId()
Gets the value of the id property. |
List<MetadataflowRefType> |
getMetadataflowRef()
Gets the value of the metadataflowRef property. |
List<TextType> |
getName()
Gets the value of the name property. |
String |
getUri()
Gets the value of the uri property. |
String |
getUrn()
Gets the value of the urn property. |
String |
getVersion()
Gets the value of the version property. |
Boolean |
isIsExternalReference()
Gets the value of the isExternalReference property. |
void |
setAnnotations(AnnotationsType value)
Sets the value of the annotations property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setIsExternalReference(Boolean value)
Sets the value of the isExternalReference property. |
void |
setUri(String value)
Sets the value of the uri property. |
void |
setUrn(String value)
Sets the value of the urn property. |
void |
setVersion(String value)
Sets the value of the version property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<TextType> name
protected List<TextType> description
protected List<DataflowRefType> dataflowRef
protected List<MetadataflowRefType> metadataflowRef
protected List<CategoryType> category
protected AnnotationsType annotations
protected String id
protected String version
protected String urn
protected String uri
protected Boolean isExternalReference
| Constructor Detail |
|---|
public CategoryType()
| Method Detail |
|---|
public List<TextType> getName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the name property.
For example, to add a new item, do as follows:
getName().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
public List<TextType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
public List<DataflowRefType> getDataflowRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the dataflowRef property.
For example, to add a new item, do as follows:
getDataflowRef().add(newItem);
Objects of the following type(s) are allowed in the list
DataflowRefType
public List<MetadataflowRefType> getMetadataflowRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the metadataflowRef property.
For example, to add a new item, do as follows:
getMetadataflowRef().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataflowRefType
public List<CategoryType> getCategory()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the category property.
For example, to add a new item, do as follows:
getCategory().add(newItem);
Objects of the following type(s) are allowed in the list
CategoryType
public AnnotationsType getAnnotations()
AnnotationsTypepublic void setAnnotations(AnnotationsType value)
value - allowed object is
AnnotationsTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic String getUrn()
Stringpublic void setUrn(String value)
value - allowed object is
Stringpublic String getUri()
Stringpublic void setUri(String value)
value - allowed object is
Stringpublic Boolean isIsExternalReference()
Booleanpublic void setIsExternalReference(Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||