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

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

public class VersionableObjectEventType
extends Object

VersionableObjectEventType describes the structure of a reference to a versionable object's events. Either all instances of the object matching the inherited criteria, a specific instance, or specific instances of the object may be selected.

Java class for VersionableObjectEventType complex type.

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

 <complexType name="VersionableObjectEventType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="All" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}EmptyType"/>
         <element name="URN" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <sequence>
           <element name="ID" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}IDQueryType"/>
           <element name="Version" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionQueryType"/>
         </sequence>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EmptyType all
           
protected  String id
           
protected  String urn
           
protected  List<String> version
           
 
Constructor Summary
VersionableObjectEventType()
           
 
Method Summary
 EmptyType getAll()
          Gets the value of the all property.
 String getID()
          Gets the value of the id property.
 String getURN()
          Gets the value of the urn property.
 List<String> getVersion()
          Gets the value of the version property.
 void setAll(EmptyType value)
          Sets the value of the all property.
 void setID(String value)
          Sets the value of the id property.
 void setURN(String value)
          Sets the value of the urn property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

all

protected EmptyType all

urn

protected String urn

id

protected String id

version

protected List<String> version
Constructor Detail

VersionableObjectEventType

public VersionableObjectEventType()
Method Detail

getAll

public EmptyType getAll()
Gets the value of the all property.

Returns:
possible object is EmptyType

setAll

public void setAll(EmptyType value)
Sets the value of the all property.

Parameters:
value - allowed object is EmptyType

getURN

public String getURN()
Gets the value of the urn property.

Returns:
possible object is String

setURN

public void setURN(String value)
Sets the value of the urn property.

Parameters:
value - allowed object is String

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

getVersion

public List<String> getVersion()
Gets the value of the version 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 version property.

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

    getVersion().add(newItem);
 

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



Copyright © 2012. All Rights Reserved.