org.chromattic.core.bean
Class SimpleType<E>
java.lang.Object
org.chromattic.core.bean.SimpleType<E>
- Direct Known Subclasses:
- ObjectSimpleType, PrimitiveSimpleType
public abstract class SimpleType<E>
- extends Object
A simple type as exposed to the programming model. A simple type is defined by:
- The simple type kind which is the underlying data semantic
- The object type which is java type for object representing the type
- The real type which is the java type as wanted by the model meta data
- The primitiveness of the type
The real type is most of the time used when there is a need for creating arrays with a component
type equals to the real type.
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isPrimitive
public abstract boolean isPrimitive()
getKind
public SimpleTypeKind<E,?> getKind()
getObjectType
public Class<E> getObjectType()
getRealType
public Class<?> getRealType()
Copyright © 2010 eXo Platform SAS. All Rights Reserved.