Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Web Flow
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.webflow.engine.model
Class BeanImportModel

    java.lang.Object
      org.springframework.webflow.engine.model.AbstractModel
          org.springframework.webflow.engine.model.BeanImportModel

All Implemented Interfaces:
  Model

    public class BeanImportModel

extends AbstractModel

Model support for bean imports.

Imports user-defined beans defined at a resource location. These beans become part of the flow's bean factory and are resolvable using flow expressions.

Author:
  Scott Andrews

Constructor Summary
`BeanImportModel(java.lang.String resource)` Create a bean import model

Method Summary
`Model` | `createCopy()` Create a deep copy of this model.
`java.lang.String` | `getResource()`
`boolean` | `isMergeableWith(Model model)` Determine if the model is able to be merged into the current model
`void` | `merge(Model model)` Merge the model into the current model
`void` | `setResource(java.lang.String resource)`

Methods inherited from class org.springframework.webflow.engine.model.AbstractModel
`copy, copyList, merge, merge, merge, merge, merge`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BeanImportModel

    public BeanImportModel(java.lang.String resource)

  Create a bean import model

  Parameters:
    `resource` - the resource containing beans to import

Method Detail

### isMergeableWith

    public boolean isMergeableWith(Model model)

  Description copied from interface: `Model`
  Determine if the model is able to be merged into the current model

  Parameters:
    `model` - the model to compare
  Returns:
    true if able to merge

### merge

    public void merge(Model model)

  Description copied from interface: `Model`
  Merge the model into the current model

  Parameters:
    `model` - the model to merge with

### createCopy

    public Model createCopy()

  Description copied from interface: `Model`
  Create a deep copy of this model. Needed when merging models and collections.

  Returns:
    a deep copy of this model

### getResource

    public java.lang.String getResource()

  Returns:
    the resource

### setResource

    public void setResource(java.lang.String resource)

  Parameters:
    `resource` - the resource to set

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Web Flow
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD