org.sdmx.resources.sdmxml.schemas.v2_1.structure
Class VersionableType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
      extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.IdentifiableType
          extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.NameableType
              extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.VersionableType
Direct Known Subclasses:
MaintainableBaseType

public abstract class VersionableType
extends NameableType

VersionableType is an abstract base type for all versionable objects.

Java class for VersionableType complex type.

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

 <complexType name="VersionableType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}NameableType">
       <attribute name="version" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}VersionType" default="1.0" />
       <attribute name="validFrom" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="validTo" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  XMLGregorianCalendar validFrom
           
protected  XMLGregorianCalendar validTo
           
protected  String version
           
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.NameableType
description, name
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.IdentifiableType
id, uri, urn
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
annotations
 
Constructor Summary
VersionableType()
           
 
Method Summary
 XMLGregorianCalendar getValidFrom()
          Gets the value of the validFrom property.
 XMLGregorianCalendar getValidTo()
          Gets the value of the validTo property.
 String getVersion()
          Gets the value of the version property.
 void setValidFrom(XMLGregorianCalendar value)
          Sets the value of the validFrom property.
 void setValidTo(XMLGregorianCalendar value)
          Sets the value of the validTo property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.NameableType
getDescription, getName
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.IdentifiableType
getId, getUri, getUrn, setId, setUri, setUrn
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
getAnnotations, setAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

protected String version

validFrom

protected XMLGregorianCalendar validFrom

validTo

protected XMLGregorianCalendar validTo
Constructor Detail

VersionableType

public VersionableType()
Method Detail

getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getValidFrom

public XMLGregorianCalendar getValidFrom()
Gets the value of the validFrom property.

Returns:
possible object is XMLGregorianCalendar

setValidFrom

public void setValidFrom(XMLGregorianCalendar value)
Sets the value of the validFrom property.

Parameters:
value - allowed object is XMLGregorianCalendar

getValidTo

public XMLGregorianCalendar getValidTo()
Gets the value of the validTo property.

Returns:
possible object is XMLGregorianCalendar

setValidTo

public void setValidTo(XMLGregorianCalendar value)
Sets the value of the validTo property.

Parameters:
value - allowed object is XMLGregorianCalendar


Copyright © 2012. All Rights Reserved.