canguru.descriptor
Class AttributeTypeConstructor

java.lang.Object
  |
  +--canguru.descriptor.AttributeTypeConstructor
All Implemented Interfaces:
AttributeTypeFactory

public class AttributeTypeConstructor
extends java.lang.Object
implements AttributeTypeFactory

Classe responsável pela criação dos objetos AttributeType


Constructor Summary
AttributeTypeConstructor()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeTypeConstructor

public AttributeTypeConstructor()
Method Detail

getAttributeType

public AttributeType getAttributeType(java.lang.Class javaType)
Description copied from interface: AttributeTypeFactory
Constrói o tipo de atributo referente à classe java informada

Specified by:
getAttributeType in interface AttributeTypeFactory
Parameters:
javaType - classe java
Returns:
tipo de atributo

getAttributeType

public AttributeType getAttributeType(java.lang.Object object)
Description copied from interface: AttributeTypeFactory
Retorna o tipo de atributo padrão quando não é informada uma classe java

Specified by:
getAttributeType in interface AttributeTypeFactory
Parameters:
object - um objeto qualquer
Returns:
tipo de atributo padrão