|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
org.sdmx.resources.sdmxml.schemas.v2_1.metadata.structurespecific.ReportedAttributeType
public abstract class ReportedAttributeType
ReportedAttributeType is an abstract base type that forms the basis for a metadata structure specific metadata attribute. A value for the attribute can be supplied as either a single value, or multi-lingual text values (either structured or unstructured). An optional set of child metadata attributes is also available if the metadata attribute definition defines nested metadata attributes. The metadata structure definition specific schema will refine this type for each metadata attribute such that the content can be validation against what is defined in the metadata structure definition.
Java class for ReportedAttributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReportedAttributeType">
<complexContent>
<extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}AnnotableType">
<sequence>
<choice minOccurs="0">
<element ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}Text" maxOccurs="unbounded"/>
<element ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}StructuredText" maxOccurs="unbounded"/>
</choice>
<element name="AttributeSet" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0" form="unqualified"/>
</sequence>
<attribute name="id" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}IDType" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="isMetadataAttribute" type="{http://www.w3.org/2001/XMLSchema}boolean" fixed="true" />
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected Object |
attributeSet
|
protected String |
id
|
protected Boolean |
isMetadataAttribute
|
protected List<XHTMLType> |
structuredText
|
protected List<TextType> |
text
|
protected String |
value
|
| Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType |
|---|
annotations |
| Constructor Summary | |
|---|---|
ReportedAttributeType()
|
|
| Method Summary | |
|---|---|
Object |
getAttributeSet()
Gets the value of the attributeSet property. |
String |
getId()
Gets the value of the id property. |
List<XHTMLType> |
getStructuredText()
StructuredText is used to supply parallel multi-lingual structured (as XHTML) textual values for the reported metadata attribute. |
List<TextType> |
getText()
Text is used to supply parallel multi-lingual textual values for the reported metadata attribute. |
String |
getValue()
Gets the value of the value property. |
boolean |
isIsMetadataAttribute()
Gets the value of the isMetadataAttribute property. |
void |
setAttributeSet(Object value)
Sets the value of the attributeSet property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setIsMetadataAttribute(Boolean value)
Sets the value of the isMetadataAttribute property. |
void |
setValue(String value)
Sets the value of the value property. |
| Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType |
|---|
getAnnotations, setAnnotations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<TextType> text
protected List<XHTMLType> structuredText
protected Object attributeSet
protected String id
protected String value
protected Boolean isMetadataAttribute
| Constructor Detail |
|---|
public ReportedAttributeType()
| Method Detail |
|---|
public List<TextType> getText()
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 text property.
For example, to add a new item, do as follows:
getText().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
public List<XHTMLType> getStructuredText()
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 structuredText property.
For example, to add a new item, do as follows:
getStructuredText().add(newItem);
Objects of the following type(s) are allowed in the list
XHTMLType
public Object getAttributeSet()
Objectpublic void setAttributeSet(Object value)
value - allowed object is
Objectpublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic boolean isIsMetadataAttribute()
Booleanpublic void setIsMetadataAttribute(Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||