org.chromattic.metamodel.type
Class EnumSimpleTypeMapping

java.lang.Object
  extended by org.chromattic.metamodel.type.EnumSimpleTypeMapping
All Implemented Interfaces:
SimpleTypeMapping

public class EnumSimpleTypeMapping
extends java.lang.Object
implements SimpleTypeMapping

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
EnumSimpleTypeMapping(org.reflext.api.ClassTypeInfo enumInfo)
           
 
Method Summary
 SimpleTypeProvider<?,?> create()
          Create a simple type provider for this mapping.
 PropertyMetaType<java.lang.String> getPropertyMetaType()
          Returns the property meta type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumSimpleTypeMapping

public EnumSimpleTypeMapping(org.reflext.api.ClassTypeInfo enumInfo)
Method Detail

getPropertyMetaType

public PropertyMetaType<java.lang.String> getPropertyMetaType()
Description copied from interface: SimpleTypeMapping
Returns the property meta type.

Specified by:
getPropertyMetaType in interface SimpleTypeMapping
Returns:
the property meta type

create

public SimpleTypeProvider<?,?> create()
Description copied from interface: SimpleTypeMapping
Create a simple type provider for this mapping. Note that this operation is only guaranted during the runtime phase as it requires to load the org.chromattic.spi.type.SimpleTypeProvider class.

Specified by:
create in interface SimpleTypeMapping
Returns:
the simple type provider


Copyright © 2014 eXo Platform SAS. All Rights Reserved.