org.chromattic.metamodel.type
Interface SimpleTypeMapping

All Known Implementing Classes:
EnumSimpleTypeMapping

public interface SimpleTypeMapping

The mapping between a JCR property type and a simple type. A simple type is any class that can be converted back and forth to a particular JCR type.

Version:
$Revision$
Author:
Julien Viet

Method Summary
 SimpleTypeProvider<?,?> create()
          Create a simple type provider for this mapping.
 PropertyMetaType<?> getPropertyMetaType()
          Returns the property meta type.
 

Method Detail

getPropertyMetaType

PropertyMetaType<?> getPropertyMetaType()
Returns the property meta type.

Returns:
the property meta type

create

SimpleTypeProvider<?,?> create()
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.

Returns:
the simple type provider


Copyright © 2014 eXo Platform SAS. All Rights Reserved.