org.chromattic.core.bean
Class SimpleTypeKind<E,I>

java.lang.Object
  extended by org.chromattic.core.bean.SimpleTypeKind<E,I>
Direct Known Subclasses:
SimpleTypeKind.BOOLEAN, SimpleTypeKind.DATE, SimpleTypeKind.DOUBLE, SimpleTypeKind.LONG, SimpleTypeKind.PATH, SimpleTypeKind.STREAM, SimpleTypeKind.STRING

public abstract class SimpleTypeKind<E,I>
extends Object

Version:
$Revision$
Author:
Julien Viet

Nested Class Summary
static class SimpleTypeKind.BOOLEAN<E>
           
static class SimpleTypeKind.DATE<E>
           
static class SimpleTypeKind.DOUBLE<E>
           
static class SimpleTypeKind.LONG<E>
           
static class SimpleTypeKind.PATH<E>
           
static class SimpleTypeKind.STREAM<E>
           
static class SimpleTypeKind.STRING<E>
           
 
Constructor Summary
protected SimpleTypeKind(Class<E> externalType)
           
 
Method Summary
 Class<E> getExternalType()
           
abstract  E toExternal(I internal)
           
abstract  I toInternal(E external)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTypeKind

protected SimpleTypeKind(Class<E> externalType)
Method Detail

getExternalType

public final Class<E> getExternalType()

toExternal

public abstract E toExternal(I internal)

toInternal

public abstract I toInternal(E external)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.