org.sdmx.resources.sdmxml.schemas.v2_0.message
Class MessageGroupType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.message.MessageType
      extended by org.sdmx.resources.sdmxml.schemas.v2_0.message.MessageGroupType

public class MessageGroupType
extends MessageType

MessageGroupType defines the contents of a MessageGroup message.

Java class for MessageGroupType complex type.

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

 <complexType name="MessageGroupType">
   <complexContent>
     <extension base="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/message}MessageType">
       <choice>
         <element ref="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/generic}DataSet" maxOccurs="unbounded"/>
         <element ref="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/utility}DataSet" maxOccurs="unbounded"/>
         <element ref="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/compact}DataSet" maxOccurs="unbounded"/>
         <element ref="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/cross}DataSet" maxOccurs="unbounded"/>
         <element ref="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/genericmetadata}MetadataSet" maxOccurs="unbounded"/>
         <element ref="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/metadatareport}MetadataSet" maxOccurs="unbounded"/>
       </choice>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String id
           
protected  List<JAXBElement<?>> rest
           
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_0.message.MessageType
header
 
Constructor Summary
MessageGroupType()
           
 
Method Summary
 String getId()
          Gets the value of the id property.
 List<JAXBElement<?>> getRest()
          Gets the rest of the content model.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_0.message.MessageType
getHeader, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rest

protected List<JAXBElement<?>> rest

id

protected String id
Constructor Detail

MessageGroupType

public MessageGroupType()
Method Detail

getRest

public List<JAXBElement<?>> getRest()
Gets the rest of the content model.

You are getting this "catch-all" property because of the following reason: The field name "DataSet" is used by two different parts of a schema. See: line 234 of file:/home/luigi/Documents/SDMX/Standards/2.0/SchemasAndSamples/SDMXMessage.xsd line 233 of file:/home/luigi/Documents/SDMX/Standards/2.0/SchemasAndSamples/SDMXMessage.xsd

To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the rest 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 rest property.

For example, to add a new item, do as follows:

    getRest().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<MetadataSetType> JAXBElement<DataSetType> JAXBElement<DataSetType> JAXBElement<DataSetType> JAXBElement<DataSetType> JAXBElement<MetadataSetType>


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.