public class SimpleConstructorMapping extends Object implements ConstructorMapping
Modifier and Type | Field and Description |
---|---|
protected MetaConstructor |
constructor |
Constructor and Description |
---|
SimpleConstructorMapping() |
Modifier and Type | Method and Description |
---|---|
MetaClass[] |
getConstructorParmTypes() |
SimpleConstructorMapping |
getCopyForInheritance() |
int |
getIndex(String key) |
String[] |
getKeyNames() |
MetaClass |
getMappingClass() |
Mapping[] |
getMappings() |
Mapping[] |
getMappingsInKeyOrder(List<String> keys) |
MetaConstructor |
getMember() |
Class<?>[] |
getSignature() |
boolean |
isNoConstruct() |
void |
mapParmToIndex(String parm,
int index,
Class<?> type) |
void |
mapParmToIndex(String parm,
int index,
MetaClass type) |
void |
setConstructor(MetaConstructor constructor) |
void |
setMappingClass(MetaClass toMap) |
protected MetaConstructor constructor
public SimpleConstructorMapping getCopyForInheritance()
public MetaClass[] getConstructorParmTypes()
public String[] getKeyNames()
public Mapping[] getMappings()
getMappings
in interface InstantiationMapping
public Mapping[] getMappingsInKeyOrder(List<String> keys)
getMappingsInKeyOrder
in interface InstantiationMapping
public Class<?>[] getSignature()
getSignature
in interface InstantiationMapping
public void setConstructor(MetaConstructor constructor)
public MetaConstructor getMember()
getMember
in interface ConstructorMapping
getMember
in interface InstantiationMapping
public void setMappingClass(MetaClass toMap)
setMappingClass
in interface InstantiationMapping
public MetaClass getMappingClass()
getMappingClass
in interface InstantiationMapping
public boolean isNoConstruct()
isNoConstruct
in interface ConstructorMapping
public int getIndex(String key)
getIndex
in interface InstantiationMapping
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.