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

Nested Class Summary
static class ListenerModel.Type
           
 
Constructor Summary
ListenerModel()
           
ListenerModel(ListenerModel.Type type)
           
 
Method Summary
<R,D> R
accept(Visitor<R,D> visitor, D data)
           
 ListenerModel.Type getType()
           
 void merge(ListenerModel other)
          

Merge values from other object.

 boolean same(ListenerModel other)
          

Compare object with other.

 void setType(ListenerModel.Type type)
          

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

Constructor Detail

ListenerModel

public ListenerModel(ListenerModel.Type type)

ListenerModel

public ListenerModel()
Method Detail

accept

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

getType

public ListenerModel.Type getType()

setType

public void setType(ListenerModel.Type type)

Parameters:
type - the type 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 © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.