net.ivoa.xml.voresource.v1
Class Date

java.lang.Object
  extended by net.ivoa.xml.voresource.v1.Date

public class Date
extends java.lang.Object

Java class for Date complex type.

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

 <complexType name="Date">
   <simpleContent>
     <extension base="<http://www.ivoa.net/xml/VOResource/v1.0>UTCDateTime">
       <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}string" default="representative" />
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  java.lang.String role
           
protected  java.lang.String value
           
 
Constructor Summary
Date()
           
 
Method Summary
 java.lang.String getRole()
          Gets the value of the role property.
 java.lang.String getValue()
          A date stamp that can be given to a precision of either a day (type xs:date) or seconds (type xs:dateTime)
 void setRole(java.lang.String value)
          Sets the value of the role property.
 void setValue(java.lang.String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected java.lang.String value

role

protected java.lang.String role
Constructor Detail

Date

public Date()
Method Detail

getValue

public java.lang.String getValue()
A date stamp that can be given to a precision of either a day (type xs:date) or seconds (type xs:dateTime)

Returns:
possible object is String

setValue

public void setValue(java.lang.String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getRole

public java.lang.String getRole()
Gets the value of the role property.

Returns:
possible object is String

setRole

public void setRole(java.lang.String value)
Sets the value of the role property.

Parameters:
value - allowed object is String


Copyright © 2011 VAMDC. All Rights Reserved.