org.apache.xbean.recipe
public class CollectionRecipe extends AbstractRecipe
Constructor and Description |
---|
CollectionRecipe() |
CollectionRecipe(java.lang.Class type) |
CollectionRecipe(java.util.Collection<?> collection) |
CollectionRecipe(CollectionRecipe collectionRecipe) |
CollectionRecipe(java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Object value) |
void |
addAll(java.util.Collection<?> value) |
void |
allow(Option option) |
boolean |
canCreate(java.lang.reflect.Type expectedType) |
void |
disallow(Option option) |
java.util.List<java.lang.Object> |
getAll() |
java.util.List<Recipe> |
getConstructorRecipes() |
java.util.List<Recipe> |
getNestedRecipes() |
protected java.lang.Object |
internalCreate(java.lang.reflect.Type expectedType,
boolean lazyRefAllowed) |
void |
remove(java.lang.Object value) |
void |
removeAll(java.lang.Object value) |
create, create, create, getName, getPriority, setName, toString
public CollectionRecipe()
public CollectionRecipe(java.lang.String type)
public CollectionRecipe(java.lang.Class type)
public CollectionRecipe(java.util.Collection<?> collection)
public CollectionRecipe(CollectionRecipe collectionRecipe)
public java.util.List<Recipe> getNestedRecipes()
getNestedRecipes
in interface Recipe
getNestedRecipes
in class AbstractRecipe
public java.util.List<Recipe> getConstructorRecipes()
getConstructorRecipes
in interface Recipe
getConstructorRecipes
in class AbstractRecipe
public boolean canCreate(java.lang.reflect.Type expectedType)
protected java.lang.Object internalCreate(java.lang.reflect.Type expectedType, boolean lazyRefAllowed) throws ConstructionException
internalCreate
in class AbstractRecipe
ConstructionException
public void add(java.lang.Object value)
public void addAll(java.util.Collection<?> value)
public void remove(java.lang.Object value)
public void removeAll(java.lang.Object value)
public java.util.List<java.lang.Object> getAll()
Copyright © 2005-2016. All Rights Reserved.