|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.jcr.item.ValueImpl
public class ValueImpl
Alfresco implementation of JCR Value
Constructor Summary | |
---|---|
ValueImpl(SessionImpl session,
int datatype,
java.lang.Object value)
Constuct |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
boolean |
getBoolean()
|
java.util.Calendar |
getDate()
|
double |
getDouble()
|
long |
getLong()
|
javax.jcr.Value |
getProxy()
Create a proxied JCR Value |
java.io.InputStream |
getStream()
|
java.lang.String |
getString()
|
int |
getType()
|
static java.lang.Object |
getValue(JCRTypeConverter typeConverter,
int requiredType,
javax.jcr.Value value)
Get typed value |
static java.lang.Object |
getValue(javax.jcr.Value value)
Get value |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueImpl(SessionImpl session, int datatype, java.lang.Object value)
value
- value to wrapMethod Detail |
---|
public javax.jcr.Value getProxy()
public java.lang.String getString() throws javax.jcr.ValueFormatException, java.lang.IllegalStateException, javax.jcr.RepositoryException
getString
in interface javax.jcr.Value
javax.jcr.ValueFormatException
java.lang.IllegalStateException
javax.jcr.RepositoryException
public java.io.InputStream getStream() throws java.lang.IllegalStateException, javax.jcr.RepositoryException
getStream
in interface javax.jcr.Value
java.lang.IllegalStateException
javax.jcr.RepositoryException
public long getLong() throws javax.jcr.ValueFormatException, java.lang.IllegalStateException, javax.jcr.RepositoryException
getLong
in interface javax.jcr.Value
javax.jcr.ValueFormatException
java.lang.IllegalStateException
javax.jcr.RepositoryException
public double getDouble() throws javax.jcr.ValueFormatException, java.lang.IllegalStateException, javax.jcr.RepositoryException
getDouble
in interface javax.jcr.Value
javax.jcr.ValueFormatException
java.lang.IllegalStateException
javax.jcr.RepositoryException
public java.util.Calendar getDate() throws javax.jcr.ValueFormatException, java.lang.IllegalStateException, javax.jcr.RepositoryException
getDate
in interface javax.jcr.Value
javax.jcr.ValueFormatException
java.lang.IllegalStateException
javax.jcr.RepositoryException
public boolean getBoolean() throws javax.jcr.ValueFormatException, java.lang.IllegalStateException, javax.jcr.RepositoryException
getBoolean
in interface javax.jcr.Value
javax.jcr.ValueFormatException
java.lang.IllegalStateException
javax.jcr.RepositoryException
public int getType()
getType
in interface javax.jcr.Value
public static java.lang.Object getValue(javax.jcr.Value value) throws javax.jcr.RepositoryException
value
- the value wrapper to extract from
javax.jcr.RepositoryException
public static java.lang.Object getValue(JCRTypeConverter typeConverter, int requiredType, javax.jcr.Value value) throws javax.jcr.RepositoryException
value
- the value to extract from
javax.jcr.RepositoryException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |