Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.schema.types
Class JavaTypes

java.lang.Object
  extended by org.nuxeo.ecm.core.schema.types.JavaTypes

public final class JavaTypes
extends Object

Maps ECM types to Java classes.

Author:
bstefanescu

Method Summary
static void bind(Type type, Class<?> klass)
           
static Class<?> getClass(Type type)
           
static Class<?> getPrimitiveClass(Type type)
           
static Type getType(Class<?> klass)
           
static boolean isComplex(Object object)
           
static boolean isList(Object object)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isList

public static boolean isList(Object object)

isComplex

public static boolean isComplex(Object object)

getType

public static Type getType(Class<?> klass)

getClass

public static Class<?> getClass(Type type)

getPrimitiveClass

public static Class<?> getPrimitiveClass(Type type)

bind

public static void bind(Type type,
                        Class<?> klass)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.