org.richfaces.cdk.model
Class BehaviorModel

java.lang.Object
  extended by org.richfaces.cdk.model.DescriptionGroupBase
      extended by org.richfaces.cdk.model.BeanModelBase
          extended by org.richfaces.cdk.model.ModelElementBase
              extended by org.richfaces.cdk.model.BehaviorModel
All Implemented Interfaces:
java.io.Serializable, DescriptionGroup, Extensible<ConfigExtension>, FacesComponent, Mergeable<BehaviorModel>, ModelElement<BehaviorModel>, Visitable

public class BehaviorModel
extends ModelElementBase
implements ModelElement<BehaviorModel>

Author:
asmirnov@exadel.com
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.richfaces.cdk.model.FacesComponent
FacesComponent.ComponentPredicate
 
Nested classes/interfaces inherited from interface org.richfaces.cdk.model.DescriptionGroup
DescriptionGroup.Icon
 
Constructor Summary
BehaviorModel()
           
BehaviorModel(FacesId behaviorId)
           
 
Method Summary
<R,D> R
accept(Visitor<R,D> visitor, D data)
           
 void merge(BehaviorModel other)
          

Merge values from other object.

 boolean same(BehaviorModel other)
          

Compare object with other.

 
Methods inherited from class org.richfaces.cdk.model.ModelElementBase
getBaseClass, getId, getInterfaces, getTags, getTargetClass, setBaseClass, setId, setTargetClass
 
Methods inherited from class org.richfaces.cdk.model.BeanModelBase
createAttribute, getAttribute, getAttributes, getOrCreateAttribute
 
Methods inherited from class org.richfaces.cdk.model.DescriptionGroupBase
getDescription, getDisplayname, getExtension, getIcon, isGenerate, setDescription, setDisplayname, setExtension, setGenerate, setIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.richfaces.cdk.model.FacesComponent
isGenerate, setGenerate
 

Constructor Detail

BehaviorModel

public BehaviorModel()

BehaviorModel

public BehaviorModel(FacesId behaviorId)
Method Detail

accept

public <R,D> R accept(Visitor<R,D> visitor,
                      D data)
Specified by:
accept in interface Visitable

merge

public void merge(BehaviorModel other)
Description copied from interface: Mergeable

Merge values from other object.

Specified by:
merge in interface Mergeable<BehaviorModel>

same

public boolean same(BehaviorModel other)
Description copied from interface: Mergeable

Compare object with other. For example, JSF component with same type or class is the same component.

Specified by:
same in interface Mergeable<BehaviorModel>
Returns:


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.