Klasse NowValueHolder

java.lang.Object
de.uplanet.lucy.server.dataobjects.impl.NowValueHolder
Alle implementierten Schnittstellen:
IDateTimeValueHolder, IValueHolder<Date>

public final class NowValueHolder extends Object implements IDateTimeValueHolder
  • Konstruktordetails

    • NowValueHolder

      public NowValueHolder()
  • Methodendetails

    • getType

      public QName getType()
      Beschreibung aus Schnittstelle kopiert: IValueHolder
      The type of data this value holder holds.
      Angegeben von:
      getType in Schnittstelle IValueHolder<Date>
      Gibt zurück:
      XSD_TYPE.DATETIME.
    • getValue

      public Date getValue()
      Get the current time with fractional seconds set to zero.

      Note that subsequent calls to getValue will return the same value.

      Angegeben von:
      getValue in Schnittstelle IValueHolder<Date>
      Gibt zurück:
      A java.sql.Timestamp that represents the current time with fractional seconds set to zero.
    • getRawValue

      public Object getRawValue()
      Get the current time with fractional seconds in millisecond resolution.

      Note that subsequent calls to getValue will return the same value.

      Angegeben von:
      getRawValue in Schnittstelle IValueHolder<Date>
      Gibt zurück:
      A java.sql.Timestamp that represents the current time.
    • hasValue

      public boolean hasValue()
      Beschreibung aus Schnittstelle kopiert: IValueHolder
      Check if this value holder currently holds data or not.
      Angegeben von:
      hasValue in Schnittstelle IValueHolder<Date>
      Gibt zurück:
      Always true.
    • getCanonicalLexicalRepresentation

      public String getCanonicalLexicalRepresentation()
      Beschreibung aus Schnittstelle kopiert: IValueHolder
      Get the canonical lexical representation of this value according to it's datatype.
      Angegeben von:
      getCanonicalLexicalRepresentation in Schnittstelle IValueHolder<Date>
      Gibt zurück:
      The canonical lexical representation of the current date.
      Siehe auch: