net.stickycode.coercion
Class CoercionType

java.lang.Object
  extended by net.stickycode.coercion.AbstractCoercionType
      extended by net.stickycode.coercion.CoercionType
All Implemented Interfaces:
CoercionTarget

public final class CoercionType
extends AbstractCoercionType


Constructor Summary
CoercionType(Class<?> type)
           
CoercionType(Class<?> type, ParameterizedType genericType)
           
 
Method Summary
 ParameterizedType getGenericType()
           
 Class<?> getType()
           
 boolean isGenericType()
           
 
Methods inherited from class net.stickycode.coercion.AbstractCoercionType
getComponentCoercionType, getComponentCoercionTypes, getComponentType, isArray, resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoercionType

public CoercionType(Class<?> type)

CoercionType

public CoercionType(Class<?> type,
                    ParameterizedType genericType)
Method Detail

getType

public Class<?> getType()
Specified by:
getType in interface CoercionTarget
Specified by:
getType in class AbstractCoercionType

getGenericType

public ParameterizedType getGenericType()
Specified by:
getGenericType in class AbstractCoercionType

isGenericType

public boolean isGenericType()
Specified by:
isGenericType in class AbstractCoercionType


Copyright © 2003-2011 RedEngine Ltd. All Rights Reserved.