com.jeceira.value
Class LongValue

java.lang.Object
  extended bycom.jeceira.value.SessionValue
      extended bycom.jeceira.value.LongValue
All Implemented Interfaces:
Value

class LongValue
extends SessionValue

Author:
Roman Klaehne, Valeri Felberg

Field Summary
 
Fields inherited from class com.jeceira.value.SessionValue
binaryValue, booleanValue, dateValue, doubleValue, longValue, nameValue, pathValue, referenceValue, sessionContext, stringValue
 
Constructor Summary
(package private) LongValue(SessionContext sessionContext, long value)
          Creates a long value.
 
Method Summary
protected  byte[] toBinaryValue()
          Converts this into a stream value.
protected  java.lang.Boolean toBooleanValue()
          Converts this into a boolean value.
protected  java.util.Calendar toDateValue()
          Converts this into a date value.
protected  java.lang.Double toDoubleValue()
          Converts this into a double value.
protected  java.lang.Long toLongValue()
          Converts this into a long value.
protected  Name toNameValue()
          Converts this into a name value.
protected  Path toPathValue()
          Converts this into a path value.
protected  Reference toReferenceValue()
          Converts this into a reference value.
protected  java.lang.String toStringValue()
          Converts this into a string value.
 
Methods inherited from class com.jeceira.value.SessionValue
getBoolean, getBytes, getDate, getDouble, getLength, getLong, getName, getPath, getReference, getSessionContext, getStream, getString, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongValue

LongValue(SessionContext sessionContext,
          long value)
Creates a long value.

Method Detail

toBinaryValue

protected byte[] toBinaryValue()
                        throws ValueFormatException,
                               RepositoryException
Description copied from class: SessionValue
Converts this into a stream value.

Specified by:
toBinaryValue in class SessionValue
Throws:
ValueFormatException
RepositoryException

toBooleanValue

protected java.lang.Boolean toBooleanValue()
                                    throws ValueFormatException,
                                           RepositoryException
Description copied from class: SessionValue
Converts this into a boolean value.

Specified by:
toBooleanValue in class SessionValue
Throws:
ValueFormatException
RepositoryException

toDateValue

protected java.util.Calendar toDateValue()
                                  throws ValueFormatException,
                                         RepositoryException
Description copied from class: SessionValue
Converts this into a date value.

Specified by:
toDateValue in class SessionValue
Throws:
ValueFormatException
RepositoryException

toDoubleValue

protected java.lang.Double toDoubleValue()
                                  throws ValueFormatException,
                                         RepositoryException
Description copied from class: SessionValue
Converts this into a double value.

Specified by:
toDoubleValue in class SessionValue
Throws:
ValueFormatException
RepositoryException

toLongValue

protected java.lang.Long toLongValue()
                              throws ValueFormatException,
                                     RepositoryException
Description copied from class: SessionValue
Converts this into a long value.

Specified by:
toLongValue in class SessionValue
Throws:
ValueFormatException
RepositoryException

toNameValue

protected Name toNameValue()
                    throws ValueFormatException,
                           RepositoryException
Description copied from class: SessionValue
Converts this into a name value.

Specified by:
toNameValue in class SessionValue
Throws:
ValueFormatException
RepositoryException

toPathValue

protected Path toPathValue()
                    throws ValueFormatException,
                           RepositoryException
Description copied from class: SessionValue
Converts this into a path value.

Specified by:
toPathValue in class SessionValue
Throws:
ValueFormatException
RepositoryException

toReferenceValue

protected Reference toReferenceValue()
                              throws ValueFormatException,
                                     RepositoryException
Description copied from class: SessionValue
Converts this into a reference value.

Specified by:
toReferenceValue in class SessionValue
Throws:
ValueFormatException
RepositoryException

toStringValue

protected java.lang.String toStringValue()
                                  throws ValueFormatException,
                                         RepositoryException
Description copied from class: SessionValue
Converts this into a string value.

Specified by:
toStringValue in class SessionValue
Throws:
ValueFormatException
RepositoryException


Copyright © 2005 Aparzev Software Ltd. All Rights Reserved.