org.sdmx.resources.sdmxml.schemas.v2_0.generic
Class GroupType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.generic.GroupType

public class GroupType
extends Object

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

groupKey

protected ValuesType groupKey

attributes

protected ValuesType attributes

series

protected List<SeriesType> series

annotations

protected AnnotationsType annotations

type

protected String type
Constructor Detail

GroupType

public GroupType()
Method Detail

getGroupKey

public ValuesType getGroupKey()
Gets the value of the groupKey property.

Returns:
possible object is ValuesType

setGroupKey

public void setGroupKey(ValuesType value)
Sets the value of the groupKey property.

Parameters:
value - allowed object is ValuesType

getAttributes

public ValuesType getAttributes()
Gets the value of the attributes property.

Returns:
possible object is ValuesType

setAttributes

public void setAttributes(ValuesType value)
Sets the value of the attributes property.

Parameters:
value - allowed object is ValuesType

getSeries

public List<SeriesType> getSeries()
Gets the value of the series property.

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


getAnnotations

public AnnotationsType getAnnotations()
Gets the value of the annotations property.

Returns:
possible object is AnnotationsType

setAnnotations

public void setAnnotations(AnnotationsType value)
Sets the value of the annotations property.

Parameters:
value - allowed object is AnnotationsType

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.