canguru.descriptor
Interface AttributeTypeFactory

All Known Implementing Classes:
AttributeTypeConstructor

public interface AttributeTypeFactory

Abstract Factory de AttributeType


Method Summary
 AttributeType getAttributeType(java.lang.Class javaType)
          Constrói o tipo de atributo referente à classe java informada
 AttributeType getAttributeType(java.lang.Object object)
          Retorna o tipo de atributo padrão quando não é informada uma classe java
 

Method Detail

getAttributeType

public AttributeType getAttributeType(java.lang.Class javaType)
Constrói o tipo de atributo referente à classe java informada

Parameters:
javaType - classe java
Returns:
tipo de atributo

getAttributeType

public AttributeType getAttributeType(java.lang.Object object)
Retorna o tipo de atributo padrão quando não é informada uma classe java

Parameters:
object - um objeto qualquer
Returns:
tipo de atributo padrão