public class EventModel extends Object implements ModelElement<EventModel>, ViewElement
That bean represent FacesEvent subclass that can be fired by component.
| Constructor and Description |
|---|
EventModel() |
| Modifier and Type | Method and Description |
|---|---|
<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)
|
public String getDescription()
public void setDescription(String description)
description - the description to setpublic ClassName getType()
public void setType(ClassName type)
type - the type to setpublic ClassName getListenerInterface()
public void setListenerInterface(ClassName listenerInterface)
listenerInterface - the listenerInterface to setpublic String getListenerMethod()
public void setListenerMethod(String listenerMethodName)
listenerMethod - the listenerMethod to setpublic boolean isGenerateListener()
public void setGenerateListener(boolean generateListener)
generateListener - the generateListener to setpublic ClassName getSourceInterface()
public void setSourceInterface(ClassName sourceInterface)
sourceInterface - the sourceInterface to setpublic boolean isGenerateSource()
public void setGenerateSource(boolean generateSource)
generateSource - the generateSource to setpublic ModelCollection<TagModel> getTags()
getTags in interface ViewElementpublic void merge(EventModel other)
MergeableMerge values from other object.
merge in interface Mergeable<EventModel>public <R,D> R accept(Visitor<R,D> visitor, D data)
public boolean same(EventModel other)
MergeableCompare object with other. For example, JSF component with same type or class is the same component.
same in interface Mergeable<EventModel>Copyright © 2014 JBoss by Red Hat. All Rights Reserved.