org.sdmx.resources.sdmxml.schemas.v2_0.registry
Class SubmitStructureRequestType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.registry.SubmitStructureRequestType

public class SubmitStructureRequestType
extends Object

SubmitStructureRequest is used to submit structure definitions - key families, metadata structures - to the repository. The structure resources (key families, agencies, concepts and concept schemes, codelists,etc.) to be submitted must be available as valid SDMX-ML Structure messages external to the registry, so that they can be retrieved by the repository submission service. A SubmitStructureResponse will be sent in response, and will indicate status and contain anyt relevant error information. StructureLocation holds the URL of the valid Structure Message. Alternately, the Structure element can contain the structural descriptions. The SubmittedStructureType contains a reference to one of the structural maintainable artefacts detailed in the Structure Message, which is to be submitted to the repository. It does not need to be used when the structures being submitted are included in the request message, or when all objects in the referenced SDMX-ML Structure message are to submitted.

Java class for SubmitStructureRequestType complex type.

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

 <complexType name="SubmitStructureRequestType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice>
           <element name="StructureLocation" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
           <element name="Structure" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}StructureType"/>
         </choice>
         <element name="SubmittedStructure" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}SubmittedStructureType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  StructureType structure
           
protected  String structureLocation
           
protected  List<SubmittedStructureType> submittedStructure
           
 
Constructor Summary
SubmitStructureRequestType()
           
 
Method Summary
 StructureType getStructure()
          Gets the value of the structure property.
 String getStructureLocation()
          Gets the value of the structureLocation property.
 List<SubmittedStructureType> getSubmittedStructure()
          Gets the value of the submittedStructure property.
 void setStructure(StructureType value)
          Sets the value of the structure property.
 void setStructureLocation(String value)
          Sets the value of the structureLocation property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

structureLocation

protected String structureLocation

structure

protected StructureType structure

submittedStructure

protected List<SubmittedStructureType> submittedStructure
Constructor Detail

SubmitStructureRequestType

public SubmitStructureRequestType()
Method Detail

getStructureLocation

public String getStructureLocation()
Gets the value of the structureLocation property.

Returns:
possible object is String

setStructureLocation

public void setStructureLocation(String value)
Sets the value of the structureLocation property.

Parameters:
value - allowed object is String

getStructure

public StructureType getStructure()
Gets the value of the structure property.

Returns:
possible object is StructureType

setStructure

public void setStructure(StructureType value)
Sets the value of the structure property.

Parameters:
value - allowed object is StructureType

getSubmittedStructure

public List<SubmittedStructureType> getSubmittedStructure()
Gets the value of the submittedStructure 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 submittedStructure property.

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

    getSubmittedStructure().add(newItem);
 

Objects of the following type(s) are allowed in the list SubmittedStructureType



Copyright © 2012. All Rights Reserved.