Errai 3.0.1-SNAPSHOT

org.jboss.errai.marshalling.rebind.api.model.impl
Class SimpleFactoryMapping

java.lang.Object
  extended by org.jboss.errai.marshalling.rebind.api.model.impl.SimpleFactoryMapping
All Implemented Interfaces:
FactoryMapping, InstantiationMapping

public class SimpleFactoryMapping
extends Object
implements FactoryMapping

Author:
Mike Brock

Constructor Summary
SimpleFactoryMapping()
           
 
Method Summary
 MetaClass[] getConstructorParmTypes()
           
 String[] getKeyNames()
           
 MetaClass getMappingClass()
           
 Mapping[] getMappings()
           
 MetaMethod getMember()
           
 Class<?>[] getSignature()
           
 void mapParmToIndex(String parm, int index, Class<?> type)
           
 void mapParmToIndex(String parm, int index, MetaClass type)
           
 void setMappingClass(MetaClass toMap)
           
 void setMethod(MetaMethod method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFactoryMapping

public SimpleFactoryMapping()
Method Detail

mapParmToIndex

public void mapParmToIndex(String parm,
                           int index,
                           Class<?> type)

mapParmToIndex

public void mapParmToIndex(String parm,
                           int index,
                           MetaClass type)

getConstructorParmTypes

public MetaClass[] getConstructorParmTypes()

getKeyNames

public String[] getKeyNames()

getMappings

public Mapping[] getMappings()
Specified by:
getMappings in interface InstantiationMapping

getSignature

public Class<?>[] getSignature()
Specified by:
getSignature in interface InstantiationMapping

setMethod

public void setMethod(MetaMethod method)

getMember

public MetaMethod getMember()
Specified by:
getMember in interface FactoryMapping
Specified by:
getMember in interface InstantiationMapping

setMappingClass

public void setMappingClass(MetaClass toMap)
Specified by:
setMappingClass in interface InstantiationMapping

getMappingClass

public MetaClass getMappingClass()
Specified by:
getMappingClass in interface InstantiationMapping

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.