org.chromattic.core.vt
Class ValueType<V>

java.lang.Object
  extended by org.chromattic.core.vt.ValueType<V>
Direct Known Subclasses:
BaseValueType

public abstract class ValueType<V>
extends java.lang.Object

Version:
$Revision$
Author:
Julien Viet

Field Summary
static ValueType<java.lang.Object> DEFAULT
           
 
Constructor Summary
ValueType()
           
 
Method Summary
abstract  V get(javax.jcr.Value value)
           
abstract  javax.jcr.Value get(javax.jcr.ValueFactory valueFactory, V o)
           
abstract  java.util.List<V> getDefaultValue()
           
abstract  java.lang.Class<V> getObjectType()
           
abstract  java.lang.Class<?> getRealType()
           
abstract  boolean isPrimitive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final ValueType<java.lang.Object> DEFAULT
Constructor Detail

ValueType

public ValueType()
Method Detail

getDefaultValue

public abstract java.util.List<V> getDefaultValue()

isPrimitive

public abstract boolean isPrimitive()

get

public abstract V get(javax.jcr.Value value)
               throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

get

public abstract javax.jcr.Value get(javax.jcr.ValueFactory valueFactory,
                                    V o)
                             throws javax.jcr.ValueFormatException
Throws:
javax.jcr.ValueFormatException

getObjectType

public abstract java.lang.Class<V> getObjectType()

getRealType

public abstract java.lang.Class<?> getRealType()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.