org.richfaces.cdk.model
Class FacetModel

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

public class FacetModel
extends DescriptionGroupBase
implements ModelElement<FacetModel>, Named

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.richfaces.cdk.model.Named
Named.NamePredicate
 
Nested classes/interfaces inherited from interface org.richfaces.cdk.model.DescriptionGroup
DescriptionGroup.Icon
 
Constructor Summary
FacetModel()
           
 
Method Summary
<R,D> R
accept(Visitor<R,D> visitor, D data)
           
 java.lang.String getName()
          

 void merge(FacetModel other)
          

Merge values from other object.

 boolean same(FacetModel other)
          

Compare object with other.

 void setName(java.lang.String name)
          

 
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
 

Constructor Detail

FacetModel

public FacetModel()
Method Detail

getName

public java.lang.String getName()

Specified by:
getName in interface Named
Returns:
the name

setName

public void setName(java.lang.String name)

Specified by:
setName in interface Named
Parameters:
name - the name to set

merge

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

Merge values from other object.

Specified by:
merge in interface Mergeable<FacetModel>

accept

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

same

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


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