Package org.docx4j.org.w3.x2003.inkML
Class TimestampType
java.lang.Object
org.docx4j.org.w3.x2003.inkML.TimestampType
- All Implemented Interfaces:
Child
public class TimestampType extends java.lang.Object implements Child
http://www.w3.org/TR/InkML/#timestamp
Java class for timestamp.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="timestamp.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute ref="{http://www.w3.org/XML/1998/namespace}id use="required""/>
<attribute name="time" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
<attribute name="timestampRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="timeString" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
<attribute name="timeOffset" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" default="0" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringidprotected java.math.BigIntegertimeprotected java.math.BigIntegertimeOffsetprotected java.lang.StringtimestampRefprotected javax.xml.datatype.XMLGregorianCalendartimeString -
Constructor Summary
Constructors Constructor Description TimestampType() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.lang.StringgetId()Gets the value of the id property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.math.BigIntegergetTime()Gets the value of the time property.java.math.BigIntegergetTimeOffset()Gets the value of the timeOffset property.java.lang.StringgetTimestampRef()Gets the value of the timestampRef property.javax.xml.datatype.XMLGregorianCalendargetTimeString()Gets the value of the timeString property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetParent(java.lang.Object parent)voidsetTime(java.math.BigInteger value)Sets the value of the time property.voidsetTimeOffset(java.math.BigInteger value)Sets the value of the timeOffset property.voidsetTimestampRef(java.lang.String value)Sets the value of the timestampRef property.voidsetTimeString(javax.xml.datatype.XMLGregorianCalendar value)Sets the value of the timeString property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
id
protected java.lang.String id -
time
protected java.math.BigInteger time -
timestampRef
protected java.lang.String timestampRef -
timeString
protected javax.xml.datatype.XMLGregorianCalendar timeString -
timeOffset
protected java.math.BigInteger timeOffset
-
-
Constructor Details
-
TimestampType
public TimestampType()
-
-
Method Details
-
getId
public java.lang.String getId()Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
getTime
public java.math.BigInteger getTime()Gets the value of the time property.- Returns:
- possible object is
BigInteger
-
setTime
public void setTime(java.math.BigInteger value)Sets the value of the time property.- Parameters:
value- allowed object isBigInteger
-
getTimestampRef
public java.lang.String getTimestampRef()Gets the value of the timestampRef property.- Returns:
- possible object is
String
-
setTimestampRef
public void setTimestampRef(java.lang.String value)Sets the value of the timestampRef property.- Parameters:
value- allowed object isString
-
getTimeString
public javax.xml.datatype.XMLGregorianCalendar getTimeString()Gets the value of the timeString property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTimeString
public void setTimeString(javax.xml.datatype.XMLGregorianCalendar value)Sets the value of the timeString property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getTimeOffset
public java.math.BigInteger getTimeOffset()Gets the value of the timeOffset property.- Returns:
- possible object is
BigInteger
-
setTimeOffset
public void setTimeOffset(java.math.BigInteger value)Sets the value of the timeOffset property.- Parameters:
value- allowed object isBigInteger
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-