org.sdmx.resources.sdmxml.schemas.v2_1.data.structurespecific
Class GroupType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
      extended by org.sdmx.resources.sdmxml.schemas.v2_1.data.structurespecific.GroupType

public abstract class GroupType
extends AnnotableType

 <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/structurespecific" xmlns:common="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xmlns:xs="http://www.w3.org/2001/XMLSchema">GroupType is the abstract type which defines a structure which is used to communicate attribute values for a group defined in a data structure definition. The group can consist of either a subset of the dimensions defined by the data structure definition, or an association to an attachment constraint, which in turn defines key sets to which attributes can be attached. In the case that the group is based on an attachment constraint, only the identification of group is provided. It is expected that a system which is processing this will relate that identifier to the key sets defined in the constraint and apply the values provided for the attributes appropriately.</p>
 
 <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/structurespecific" xmlns:common="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xmlns:xs="http://www.w3.org/2001/XMLSchema">Data structure definition schemas will drive types based on this for each group defined in the data structure definition. Both the dimension values which make up the key (if applicable) and the attribute values associated with the group will be represented with XML attributes. This is specified in the content model with the declaration of anyAttributes in the "local" namespace. The derived group type will refine this structure so that the attributes are explicit. The XML attributes will be given a name based on the attribute's identifier. These XML attributes will be unqualified (meaning they do not have a namespace associated with them). The dimension XML attributes will be required while the attribute XML attributes will be optional. To allow for generic processing, it is required that the only unqualified XML attributes in the derived group type be for the group dimensions and attributes declared in the data structure definition. If additional attributes are required, these should be qualified with a namespace so that a generic application can easily distinguish them as not being meant to represent a data structure definition dimension or attribute.</p>
 

Java class for GroupType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="GroupType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}AnnotableType">
       <attribute name="type" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}IDType" />
       <attribute name="REPORTING_YEAR_START_DAY" type="{http://www.w3.org/2001/XMLSchema}gMonthDay" />
       <anyAttribute namespace=''/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  XMLGregorianCalendar reportingyearstartday
           
protected  String type
           
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
annotations
 
Constructor Summary
GroupType()
           
 
Method Summary
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 XMLGregorianCalendar getREPORTINGYEARSTARTDAY()
          Gets the value of the reportingyearstartday property.
 String getType()
          Gets the value of the type property.
 void setREPORTINGYEARSTARTDAY(XMLGregorianCalendar value)
          Sets the value of the reportingyearstartday property.
 void setType(String value)
          Sets the value of the type 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

type

protected String type

reportingyearstartday

protected XMLGregorianCalendar reportingyearstartday
Constructor Detail

GroupType

public GroupType()
Method Detail

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

getREPORTINGYEARSTARTDAY

public XMLGregorianCalendar getREPORTINGYEARSTARTDAY()
Gets the value of the reportingyearstartday property.

Returns:
possible object is XMLGregorianCalendar

setREPORTINGYEARSTARTDAY

public void setREPORTINGYEARSTARTDAY(XMLGregorianCalendar value)
Sets the value of the reportingyearstartday property.

Parameters:
value - allowed object is XMLGregorianCalendar

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null


Copyright © 2012. All Rights Reserved.