org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse
Class EventRefBean

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ObjectBean
      extended by org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.EventRefBean

public class EventRefBean
extends ObjectBean

EventBean is a Java representation of the faces-config component-extension event XML element.


Constructor Summary
EventRefBean()
           
 
Method Summary
 String[] getEventDeliveryPhases()
          Returns the delivery phases for this event.
 String getEventName()
           
 String getEventType()
          Returns the event type for this event.
 boolean isIgnoreSourceInterface()
          Returns a flag indicating whether or not to automatically implement the event source interface on the generated component source.
 EventBean resolveEventType()
          Resolves the event type.
 void setEventDeliveryPhases(String[] deliveryPhases)
          Sets the delivery phases for this event.
 void setEventType(String eventType)
          Sets the event type for this event reference.
 void setIgnoreSourceInterface(boolean ignoreSourceInterface)
          Sets a flag indicating whether or not to automatically implement the event source interface on the generated component source.
 
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ObjectBean
attach, getOwner, isModifiedSince
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventRefBean

public EventRefBean()
Method Detail

getEventName

public String getEventName()

setEventType

public void setEventType(String eventType)
Sets the event type for this event reference.

Parameters:
eventType - the event type

getEventType

public String getEventType()
Returns the event type for this event.

Returns:
the event type

setEventDeliveryPhases

public void setEventDeliveryPhases(String[] deliveryPhases)
Sets the delivery phases for this event.

Parameters:
deliveryPhases - the event delivery phases

getEventDeliveryPhases

public String[] getEventDeliveryPhases()
Returns the delivery phases for this event.

Returns:
the event delivery phases

setIgnoreSourceInterface

public void setIgnoreSourceInterface(boolean ignoreSourceInterface)
Sets a flag indicating whether or not to automatically implement the event source interface on the generated component source.

Parameters:
ignoreSourceInterface - true, to ignore the event source interface; false, otherwise

isIgnoreSourceInterface

public boolean isIgnoreSourceInterface()
Returns a flag indicating whether or not to automatically implement the event source interface on the generated component source.

Returns:
true, to ignore the event source interface; false, otherwise

resolveEventType

public EventBean resolveEventType()
Resolves the event type.

Returns:
the event with the referencing event type, or null if not found


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.