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

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.message.MessageType
Direct Known Subclasses:
CompactDataType, CrossSectionalDataType, GenericDataType, GenericMetadataType, MessageGroupType, MetadataReportType, QueryMessageType, RegistryInterfaceType, StructureType, UtilityDataType

public abstract class MessageType
extends Object

The Message is an abstract type which is used by all of the messages, to allow inheritance of common features. It also provides uniqueness constraints for the header fields.

Java class for MessageType complex type.

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

 <complexType name="MessageType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Header" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/message}HeaderType"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  HeaderType header
           
 
Constructor Summary
MessageType()
           
 
Method Summary
 HeaderType getHeader()
          Gets the value of the header property.
 void setHeader(HeaderType value)
          Sets the value of the header property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

header

protected HeaderType header
Constructor Detail

MessageType

public MessageType()
Method Detail

getHeader

public HeaderType getHeader()
Gets the value of the header property.

Returns:
possible object is HeaderType

setHeader

public void setHeader(HeaderType value)
Sets the value of the header property.

Parameters:
value - allowed object is HeaderType


Copyright © 2012. All Rights Reserved.