|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_0.registry.SubmitStructureRequestType
public class SubmitStructureRequestType
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 |
|---|
protected String structureLocation
protected StructureType structure
protected List<SubmittedStructureType> submittedStructure
| Constructor Detail |
|---|
public SubmitStructureRequestType()
| Method Detail |
|---|
public String getStructureLocation()
Stringpublic void setStructureLocation(String value)
value - allowed object is
Stringpublic StructureType getStructure()
StructureTypepublic void setStructure(StructureType value)
value - allowed object is
StructureTypepublic List<SubmittedStructureType> getSubmittedStructure()
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||