Nuxeo Enterprise Platform 5.4

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 java.lang.Object

Maps ECM types to Java classes.

Author:
bstefanescu

Method Summary
static void bind(Type type, java.lang.Class<?> klass)
           
static java.lang.Class<?> getClass(Type type)
           
static java.lang.Class<?> getPrimitiveClass(Type type)
           
static Type getType(java.lang.Class<?> klass)
           
static boolean isComplex(java.lang.Object object)
           
static boolean isList(java.lang.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(java.lang.Object object)

isComplex

public static boolean isComplex(java.lang.Object object)

getType

public static Type getType(java.lang.Class<?> klass)

getClass

public static java.lang.Class<?> getClass(Type type)

getPrimitiveClass

public static java.lang.Class<?> getPrimitiveClass(Type type)

bind

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.