|
||||||||||
| 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.generic.GroupType
public class GroupType
The key values at the group level may be stated explicitly, and all which are not wildcarded listed in GroupKey - they must also all be given a value at the series level. It is not necessary to specify the group key, however, as this may be inferred from the values repeated at the series level. If only documentation (group-level attributes) are being transmitted, however, the GroupKey cannot be omitted. The type attribute contains the name of the declared group in the key family. If any group-level attributes are specified in a delete message, then any valid value supplied for the attribute indicates that the current attribute value should be deleted for the specified attribute.
Java class for GroupType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GroupType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="GroupKey" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/generic}ValuesType" minOccurs="0"/>
<element name="Attributes" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/generic}ValuesType" minOccurs="0"/>
<element name="Series" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/generic}SeriesType" maxOccurs="unbounded" minOccurs="0"/>
<element name="Annotations" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}AnnotationsType" minOccurs="0"/>
</sequence>
<attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected AnnotationsType |
annotations
|
protected ValuesType |
attributes
|
protected ValuesType |
groupKey
|
protected List<SeriesType> |
series
|
protected String |
type
|
| Constructor Summary | |
|---|---|
GroupType()
|
|
| Method Summary | |
|---|---|
AnnotationsType |
getAnnotations()
Gets the value of the annotations property. |
ValuesType |
getAttributes()
Gets the value of the attributes property. |
ValuesType |
getGroupKey()
Gets the value of the groupKey property. |
List<SeriesType> |
getSeries()
Gets the value of the series property. |
String |
getType()
Gets the value of the type property. |
void |
setAnnotations(AnnotationsType value)
Sets the value of the annotations property. |
void |
setAttributes(ValuesType value)
Sets the value of the attributes property. |
void |
setGroupKey(ValuesType value)
Sets the value of the groupKey property. |
void |
setType(String value)
Sets the value of the type property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ValuesType groupKey
protected ValuesType attributes
protected List<SeriesType> series
protected AnnotationsType annotations
protected String type
| Constructor Detail |
|---|
public GroupType()
| Method Detail |
|---|
public ValuesType getGroupKey()
ValuesTypepublic void setGroupKey(ValuesType value)
value - allowed object is
ValuesTypepublic ValuesType getAttributes()
ValuesTypepublic void setAttributes(ValuesType value)
value - allowed object is
ValuesTypepublic List<SeriesType> getSeries()
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 series property.
For example, to add a new item, do as follows:
getSeries().add(newItem);
Objects of the following type(s) are allowed in the list
SeriesType
public AnnotationsType getAnnotations()
AnnotationsTypepublic void setAnnotations(AnnotationsType value)
value - allowed object is
AnnotationsTypepublic String getType()
Stringpublic void setType(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||