org.richfaces.cdk.model
Class ValidatorModel

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.ValidatorModel
All Implemented Interfaces:
java.io.Serializable, DescriptionGroup, Extensible<ConfigExtension>, FacesComponent, Mergeable<ValidatorModel>, ModelElement<ValidatorModel>, Visitable

public class ValidatorModel
extends ModelElementBase
implements ModelElement<ValidatorModel>

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
ValidatorModel()
           
ValidatorModel(FacesId validatorId)
           
 
Method Summary
<R,D> R
accept(Visitor<R,D> visitor, D data)
           
 void merge(ValidatorModel other)
          

Merge values from other object.

 boolean same(ValidatorModel 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

ValidatorModel

public ValidatorModel()

ValidatorModel

public ValidatorModel(FacesId validatorId)
Method Detail

accept

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

merge

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

Merge values from other object.

Specified by:
merge in interface Mergeable<ValidatorModel>

same

public boolean same(ValidatorModel 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<ValidatorModel>
Returns:


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