public abstract class AbstractRecipe extends java.lang.Object implements Recipe
| Modifier and Type | Field and Description |
|---|---|
private long |
id |
private static java.util.concurrent.atomic.AtomicLong |
ID |
private java.lang.String |
name |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRecipe() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
create() |
java.lang.Object |
create(java.lang.ClassLoader classLoader) |
java.lang.Object |
create(java.lang.reflect.Type expectedType,
boolean lazyRefAllowed) |
java.util.List<Recipe> |
getConstructorRecipes() |
java.lang.String |
getName() |
java.util.List<Recipe> |
getNestedRecipes() |
float |
getPriority() |
protected abstract java.lang.Object |
internalCreate(java.lang.reflect.Type expectedType,
boolean lazyRefAllowed) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
private static final java.util.concurrent.atomic.AtomicLong ID
private long id
private java.lang.String name
public void setName(java.lang.String name)
public float getPriority()
getPriority in interface Recipepublic java.lang.Object create()
throws ConstructionException
create in interface RecipeConstructionExceptionpublic final java.lang.Object create(java.lang.ClassLoader classLoader)
throws ConstructionException
create in interface RecipeConstructionExceptionpublic final java.lang.Object create(java.lang.reflect.Type expectedType,
boolean lazyRefAllowed)
throws ConstructionException
create in interface RecipeConstructionExceptionprotected abstract java.lang.Object internalCreate(java.lang.reflect.Type expectedType,
boolean lazyRefAllowed)
throws ConstructionException
ConstructionExceptionpublic java.util.List<Recipe> getNestedRecipes()
getNestedRecipes in interface Recipepublic java.util.List<Recipe> getConstructorRecipes()
getConstructorRecipes in interface Recipepublic java.lang.String toString()
toString in class java.lang.Object