|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uplanet.lucy.server.dataobjects.impl.DateTimeValueHolder
public final class DateTimeValueHolder
Constructor Summary | |
---|---|
DateTimeValueHolder(java.lang.Object p_rawValue)
Construct a DateTimeValueHolder with the given raw value. |
Method Summary | |
---|---|
java.lang.String |
getCanonicalLexicalRepresentation()
Get the canonical lexical representation of this value according to it's datatype. |
java.lang.Object |
getRawValue()
Get the raw data that this value holder holds. |
javax.xml.namespace.QName |
getType()
The type of data this value holder holds. |
java.util.Date |
getValue()
Get the data that this value holder holds. |
boolean |
hasValue()
Check if this value holder currently holds data or not. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateTimeValueHolder(java.lang.Object p_rawValue)
DateTimeValueHolder
with the given raw value.
Method Detail |
---|
public javax.xml.namespace.QName getType()
IValueHolder
getType
in interface IValueHolder<java.util.Date>
IxDatatype.DATETIME
.public java.util.Date getValue()
IValueHolder
Implementations MUST ensure that multiple calls to this method will return values that equal each other.
getValue
in interface IValueHolder<java.util.Date>
public java.lang.Object getRawValue()
IValueHolder
getRawValue
in interface IValueHolder<java.util.Date>
public boolean hasValue()
IValueHolder
hasValue
in interface IValueHolder<java.util.Date>
true
if the data holder holds data,
or false
otherwise.public java.lang.String getCanonicalLexicalRepresentation()
IValueHolder
getCanonicalLexicalRepresentation
in interface IValueHolder<java.util.Date>
null
if hasValue()
is false
.Convert.getCanonicalLexicalRepresentationDateTime(Date).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |