|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.webflow.engine.model.AbstractModel
public abstract class AbstractModel
Contains basic merge functions that can be utilized by other models.
Constructor Summary | |
---|---|
AbstractModel()
|
Method Summary | ||
---|---|---|
protected Model |
copy(Model model)
|
|
protected
|
copyList(java.util.LinkedList<T> list)
|
|
protected
|
merge(java.util.LinkedList<T> child,
java.util.LinkedList<T> parent)
Merge two lists. |
|
protected
|
merge(java.util.LinkedList<T> child,
java.util.LinkedList<T> parent,
boolean addAtEnd)
Merge two lists. |
|
protected Model |
merge(Model child,
Model parent)
Merge two model elements. |
|
protected java.lang.Object |
merge(java.lang.Object child,
java.lang.Object parent)
Merge two objects. |
|
protected java.lang.String |
merge(java.lang.String child,
java.lang.String parent)
Merge two strings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.webflow.engine.model.Model |
---|
createCopy, isMergeableWith, merge |
Constructor Detail |
---|
public AbstractModel()
Method Detail |
---|
protected java.lang.Object merge(java.lang.Object child, java.lang.Object parent)
child
- the child object to mergeparent
- the parent object to merge
protected java.lang.String merge(java.lang.String child, java.lang.String parent)
child
- the child string to mergeparent
- the parent string to merge
protected Model merge(Model child, Model parent)
child
- the child model element to mergeparent
- the parent model element to merge
protected <T extends Model> java.util.LinkedList<T> merge(java.util.LinkedList<T> child, java.util.LinkedList<T> parent)
child
- the child list to mergeparent
- the parent list to merge
protected <T extends Model> java.util.LinkedList<T> merge(java.util.LinkedList<T> child, java.util.LinkedList<T> parent, boolean addAtEnd)
child
- the child list to mergeparent
- the parent list to mergeaddAtEnd
- if true new items will be added at the end of the list, otherwise the beginning
protected Model copy(Model model)
protected <T extends Model> java.util.LinkedList<T> copyList(java.util.LinkedList<T> list)
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |