public class ArrayRecipe extends AbstractRecipe
| Modifier and Type | Class and Description |
|---|---|
private static class |
ArrayRecipe.UpdateArray |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.Object> |
list |
private java.util.EnumSet<Option> |
options |
private java.lang.Class |
typeClass |
private java.lang.String |
typeName |
| Constructor and Description |
|---|
ArrayRecipe() |
ArrayRecipe(ArrayRecipe collectionRecipe) |
ArrayRecipe(java.lang.Class type) |
ArrayRecipe(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() |
private java.lang.Class |
getType(java.lang.reflect.Type expectedType) |
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, toStringprivate final java.util.List<java.lang.Object> list
private java.lang.String typeName
private java.lang.Class typeClass
private final java.util.EnumSet<Option> options
public ArrayRecipe()
public ArrayRecipe(java.lang.String type)
public ArrayRecipe(java.lang.Class type)
public ArrayRecipe(ArrayRecipe collectionRecipe)
public void allow(Option option)
public void disallow(Option option)
public java.util.List<Recipe> getNestedRecipes()
getNestedRecipes in interface RecipegetNestedRecipes in class AbstractRecipepublic java.util.List<Recipe> getConstructorRecipes()
getConstructorRecipes in interface RecipegetConstructorRecipes in class AbstractRecipepublic boolean canCreate(java.lang.reflect.Type expectedType)
protected java.lang.Object internalCreate(java.lang.reflect.Type expectedType,
boolean lazyRefAllowed)
throws ConstructionException
internalCreate in class AbstractRecipeConstructionExceptionprivate java.lang.Class getType(java.lang.reflect.Type expectedType)
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()