org.richfaces.cdk.model
Class ListenerModel

java.lang.Object
  extended by org.richfaces.cdk.model.ListenerModel
All Implemented Interfaces:
java.io.Serializable, Mergeable<ListenerModel>, ModelElement<ListenerModel>, Visitable

public class ListenerModel
extends java.lang.Object
implements ModelElement<ListenerModel>

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

Constructor Summary
ListenerModel()
           
ListenerModel(FacesId type)
           
 
Method Summary
<R,D> R
accept(Visitor<R,D> visitor, D data)
           
 FacesId getId()
           
 void merge(ListenerModel other)
          

Merge values from other object.

 boolean same(ListenerModel other)
          

Compare object with other.

 void setId(FacesId type)
          

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

Constructor Detail

ListenerModel

public ListenerModel(FacesId type)

ListenerModel

public ListenerModel()
Method Detail

accept

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

getId

public FacesId getId()

setId

public void setId(FacesId type)

Parameters:
id - the id to set

merge

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

Merge values from other object.

Specified by:
merge in interface Mergeable<ListenerModel>

same

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


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