org.compass.annotations.config.binding
Class AnnotationsBindingUtils

java.lang.Object
  extended by org.compass.annotations.config.binding.AnnotationsBindingUtils

public abstract class AnnotationsBindingUtils
extends Object

Author:
kimchy

Constructor Summary
AnnotationsBindingUtils()
           
 
Method Summary
static CascadeMapping.Cascade convert(Cascade cascade)
           
static ResourcePropertyMapping.ExcludeFromAllType convert(ExcludeFromAll excludeFromAll)
           
static Property.Index convert(Index index)
           
static ClassPropertyMapping.ManagedId convert(ManagedId managedId)
           
static Property.Index convert(ManagedIdIndex index)
           
static Boolean convert(OmitNorms omitNorms)
           
static Boolean convert(OmitTf omitTf)
           
static ResourcePropertyMapping.ReverseType convert(Reverse reverse)
           
static Property.Store convert(Store store)
           
static Property.TermVector convert(TermVector termVector)
           
static Class getCollectionParameterClass(Class<?> clazz, Type type)
           
static String getCollectionParameterClassName(Class<?> clazz, Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationsBindingUtils

public AnnotationsBindingUtils()
Method Detail

getCollectionParameterClassName

public static String getCollectionParameterClassName(Class<?> clazz,
                                                     Type type)

getCollectionParameterClass

public static Class getCollectionParameterClass(Class<?> clazz,
                                                Type type)

convert

public static ClassPropertyMapping.ManagedId convert(ManagedId managedId)
                                              throws IllegalArgumentException
Throws:
IllegalArgumentException

convert

public static Property.TermVector convert(TermVector termVector)
                                   throws IllegalArgumentException
Throws:
IllegalArgumentException

convert

public static ResourcePropertyMapping.ReverseType convert(Reverse reverse)
                                                   throws IllegalArgumentException
Throws:
IllegalArgumentException

convert

public static ResourcePropertyMapping.ExcludeFromAllType convert(ExcludeFromAll excludeFromAll)
                                                          throws IllegalArgumentException
Throws:
IllegalArgumentException

convert

public static Boolean convert(OmitNorms omitNorms)

convert

public static Boolean convert(OmitTf omitTf)

convert

public static Property.Store convert(Store store)
                              throws IllegalArgumentException
Throws:
IllegalArgumentException

convert

public static Property.Index convert(Index index)
                              throws IllegalArgumentException
Throws:
IllegalArgumentException

convert

public static Property.Index convert(ManagedIdIndex index)
                              throws IllegalArgumentException
Throws:
IllegalArgumentException

convert

public static CascadeMapping.Cascade convert(Cascade cascade)
                                      throws IllegalArgumentException
Throws:
IllegalArgumentException


Copyright (c) 2004-2008 The Compass Project.