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

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

public class SubmitStructureRequestType
extends Object

SubmitStructureRequestType describes the structure of a structure submission. Structural components are provided either in-line or referenced via a SDMX-ML Structure message external to the registry. A default action and external reference resolution action are all provided for each of the contained components, but can be overridden on a per component basis.

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 ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}Structures"/>
         </choice>
         <element name="SubmittedStructure" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}SubmittedStructureType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="action" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}ActionType" default="Append" />
       <attribute name="externalDependencies" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  ActionType action
           
protected  Boolean externalDependencies
           
protected  String structureLocation
           
protected  StructuresType structures
           
protected  List<SubmittedStructureType> submittedStructure
           
 
Constructor Summary
SubmitStructureRequestType()
           
 
Method Summary
 ActionType getAction()
          Gets the value of the action property.
 String getStructureLocation()
          Gets the value of the structureLocation property.
 StructuresType getStructures()
          Structures allows for the inline definition of structural components for submission.
 List<SubmittedStructureType> getSubmittedStructure()
          Gets the value of the submittedStructure property.
 boolean isExternalDependencies()
          Gets the value of the externalDependencies property.
 void setAction(ActionType value)
          Sets the value of the action property.
 void setExternalDependencies(Boolean value)
          Sets the value of the externalDependencies property.
 void setStructureLocation(String value)
          Sets the value of the structureLocation property.
 void setStructures(StructuresType value)
          Sets the value of the structures 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

structures

protected StructuresType structures

submittedStructure

protected List<SubmittedStructureType> submittedStructure

action

protected ActionType action

externalDependencies

protected Boolean externalDependencies
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

getStructures

public StructuresType getStructures()
Structures allows for the inline definition of structural components for submission.

Returns:
possible object is StructuresType

setStructures

public void setStructures(StructuresType value)
Sets the value of the structures property.

Parameters:
value - allowed object is StructuresType

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


getAction

public ActionType getAction()
Gets the value of the action property.

Returns:
possible object is ActionType

setAction

public void setAction(ActionType value)
Sets the value of the action property.

Parameters:
value - allowed object is ActionType

isExternalDependencies

public boolean isExternalDependencies()
Gets the value of the externalDependencies property.

Returns:
possible object is Boolean

setExternalDependencies

public void setExternalDependencies(Boolean value)
Sets the value of the externalDependencies property.

Parameters:
value - allowed object is Boolean


Copyright © 2012. All Rights Reserved.