RichFaces CDK Generator 4.2.0.CR1

org.richfaces.cdk.model
Class EventModel

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

public class EventModel
extends Object
implements ModelElement<EventModel>, ViewElement

That bean represent FacesEvent subclass that can be fired by component.

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

Constructor Summary
EventModel()
           
 
Method Summary
<R,D> R
accept(Visitor<R,D> visitor, D data)
           
 String getDescription()
          

 ClassName getListenerInterface()
          

 String getListenerMethod()
          

 ClassName getSourceInterface()
          

 ModelCollection<TagModel> getTags()
          

 ClassName getType()
          

 boolean isGenerateListener()
          

 boolean isGenerateSource()
          

 void merge(EventModel other)
          

Merge values from other object.

 boolean same(EventModel other)
          

Compare object with other.

 void setDescription(String description)
          

 void setGenerateListener(boolean generateListener)
          

 void setGenerateSource(boolean generateSource)
          

 void setListenerInterface(ClassName listenerInterface)
          

 void setListenerMethod(String listenerMethodName)
          

 void setSourceInterface(ClassName sourceInterface)
          

 void setType(ClassName type)
          

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

Constructor Detail

EventModel

public EventModel()
Method Detail

getDescription

public String getDescription()

Returns:
the description

setDescription

public void setDescription(String description)

Parameters:
description - the description to set

getType

public ClassName getType()

Returns:
the type

setType

public void setType(ClassName type)

Parameters:
type - the type to set

getListenerInterface

public ClassName getListenerInterface()

Returns:
the listenerInterface

setListenerInterface

public void setListenerInterface(ClassName listenerInterface)

Parameters:
listenerInterface - the listenerInterface to set

getListenerMethod

public String getListenerMethod()

Returns:
the listenerMethod

setListenerMethod

public void setListenerMethod(String listenerMethodName)

Parameters:
listenerMethod - the listenerMethod to set

isGenerateListener

public boolean isGenerateListener()

Returns:
the generateListener

setGenerateListener

public void setGenerateListener(boolean generateListener)

Parameters:
generateListener - the generateListener to set

getSourceInterface

public ClassName getSourceInterface()

Returns:
the sourceInterface

setSourceInterface

public void setSourceInterface(ClassName sourceInterface)

Parameters:
sourceInterface - the sourceInterface to set

isGenerateSource

public boolean isGenerateSource()

Returns:
the generateSource

setGenerateSource

public void setGenerateSource(boolean generateSource)

Parameters:
generateSource - the generateSource to set

getTags

public ModelCollection<TagModel> getTags()

Specified by:
getTags in interface ViewElement
Returns:
the tags

merge

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

Merge values from other object.

Specified by:
merge in interface Mergeable<EventModel>

accept

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

same

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

RichFaces CDK Generator 4.2.0.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.