org.priha.core.values
Class BooleanValueImpl
java.lang.Object
org.priha.core.values.ValueImpl
org.priha.core.values.BooleanValueImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ValueImpl>, javax.jcr.Value
public class BooleanValueImpl
- extends ValueImpl
- implements javax.jcr.Value, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jcr.Value |
getDate, getDouble, getLong |
BooleanValueImpl
public BooleanValueImpl(boolean value)
BooleanValueImpl
public BooleanValueImpl(java.lang.String value)
BooleanValueImpl
public BooleanValueImpl(BooleanValueImpl value)
getType
public int getType()
- Specified by:
getType
in interface javax.jcr.Value
getBoolean
public boolean getBoolean()
- Specified by:
getBoolean
in interface javax.jcr.Value
- Overrides:
getBoolean
in class ValueImpl
getStream
public java.io.InputStream getStream()
throws javax.jcr.RepositoryException
- Description copied from class:
ValueImpl
- By default, returns the inputstream of the String representation.
- Specified by:
getStream
in interface javax.jcr.Value
- Overrides:
getStream
in class ValueImpl
- Throws:
javax.jcr.RepositoryException
getString
public java.lang.String getString()
throws javax.jcr.ValueFormatException,
java.lang.IllegalStateException,
javax.jcr.RepositoryException
- Specified by:
getString
in interface javax.jcr.Value
- Overrides:
getString
in class ValueImpl
- Throws:
javax.jcr.ValueFormatException
java.lang.IllegalStateException
javax.jcr.RepositoryException
toString
public java.lang.String toString()
- Overrides:
toString
in class ValueImpl