public class ObjectRecipe extends AbstractRecipe
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectRecipe.AutoMatchProperty |
static class |
ObjectRecipe.CompoundProperty |
static class |
ObjectRecipe.FieldMember |
static class |
ObjectRecipe.FieldProperty |
static interface |
ObjectRecipe.Member |
static class |
ObjectRecipe.MethodMember |
static class |
ObjectRecipe.Property |
static class |
ObjectRecipe.SetterProperty |
| Constructor and Description |
|---|
ObjectRecipe(Class typeClass) |
ObjectRecipe(Class typeClass,
Map<String,Object> properties) |
ObjectRecipe(Class typeClass,
String factoryMethod) |
ObjectRecipe(Class typeClass,
String[] constructorArgNames) |
ObjectRecipe(Class typeClass,
String[] constructorArgNames,
Class[] constructorArgTypes) |
ObjectRecipe(Class type,
String factoryMethod,
String[] constructorArgNames) |
ObjectRecipe(Class type,
String factoryMethod,
String[] constructorArgNames,
Class[] constructorArgTypes) |
ObjectRecipe(Class typeClass,
String factoryMethod,
String[] constructorArgNames,
Class[] constructorArgTypes,
Map<String,Object> properties) |
ObjectRecipe(String typeName) |
ObjectRecipe(String typeName,
Map<String,Object> properties) |
ObjectRecipe(String typeName,
String factoryMethod) |
ObjectRecipe(String typeName,
String[] constructorArgNames) |
ObjectRecipe(String typeName,
String[] constructorArgNames,
Class[] constructorArgTypes) |
ObjectRecipe(String typeName,
String factoryMethod,
String[] constructorArgNames) |
ObjectRecipe(String typeName,
String factoryMethod,
String[] constructorArgNames,
Class[] constructorArgTypes) |
ObjectRecipe(String typeName,
String factoryMethod,
String[] constructorArgNames,
Class[] constructorArgTypes,
Map<String,Object> properties) |
create, create, create, getName, getPriority, setName, toStringpublic ObjectRecipe(Class typeClass)
public ObjectRecipe(Class typeClass, String factoryMethod)
public ObjectRecipe(Class typeClass, Map<String,Object> properties)
public ObjectRecipe(Class typeClass, String[] constructorArgNames)
public ObjectRecipe(Class typeClass, String[] constructorArgNames, Class[] constructorArgTypes)
public ObjectRecipe(Class type, String factoryMethod, String[] constructorArgNames)
public ObjectRecipe(Class type, String factoryMethod, String[] constructorArgNames, Class[] constructorArgTypes)
public ObjectRecipe(Class typeClass, String factoryMethod, String[] constructorArgNames, Class[] constructorArgTypes, Map<String,Object> properties)
public ObjectRecipe(String typeName)
public ObjectRecipe(String typeName, String factoryMethod)
public ObjectRecipe(String typeName, Map<String,Object> properties)
public ObjectRecipe(String typeName, String[] constructorArgNames)
public ObjectRecipe(String typeName, String[] constructorArgNames, Class[] constructorArgTypes)
public ObjectRecipe(String typeName, String factoryMethod, String[] constructorArgNames)
public ObjectRecipe(String typeName, String factoryMethod, String[] constructorArgNames, Class[] constructorArgTypes)
public Set<Option> getOptions()
public List<String> getConstructorArgNames()
public void setConstructorArgNames(String[] constructorArgNames)
public void setConstructorArgNames(List<String> constructorArgNames)
public List<Class<?>> getConstructorArgTypes()
public void setConstructorArgTypes(Class[] constructorArgTypes)
public void setConstructorArgTypes(List<? extends Class<?>> constructorArgTypes)
public String getFactoryMethod()
public void setFactoryMethod(String factoryMethod)
public Object getProperty(String name)
public Map<String,Object> getProperties()
public void setProperty(String name, Object value)
public void setFieldProperty(String name, Object value)
public void setMethodProperty(String name, Object value)
public void setAutoMatchProperty(String type, Object value)
public void setCompoundProperty(String name, Object value)
public void setAllProperties(Map<?,?> map)
public Map<String,Object> getUnsetProperties()
public List<Recipe> getNestedRecipes()
getNestedRecipes in interface RecipegetNestedRecipes in class AbstractRecipepublic List<Recipe> getConstructorRecipes()
getConstructorRecipes in interface RecipegetConstructorRecipes in class AbstractRecipeprotected Object internalCreate(Type expectedType, boolean lazyRefAllowed) throws ConstructionException
internalCreate in class AbstractRecipeConstructionExceptionpublic void setProperties(Object instance) throws ConstructionException
ConstructionExceptionpublic Class setStaticProperties() throws ConstructionException
ConstructionExceptionCopyright © 2005–2014. All rights reserved.