org.apache.myfaces.buildtools.maven2.plugin.builder.model
Class ListenerMeta

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.builder.model.ListenerMeta

public class ListenerMeta
extends Object

Since:
1.0.4
Version:
$Revision: 796607 $ $Date: 2009-07-21 22:00:30 -0500 (mar, 21 jul 2009) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Constructor Summary
ListenerMeta()
           
ListenerMeta(ListenerMeta pm)
           
 
Method Summary
static void addXmlRules(org.apache.commons.digester.Digester digester, String prefix)
          Add digester rules to repopulate a Model instance from an xml file.
 String getClassName()
          The fully-qualified name of the JSF entity class, ie the class that actually implements a Listener.
 String getDescription()
          Returns the description of this property.
 String getEventClassName()
           
 String getLongDescription()
           
 String getName()
          Returns the listener name for this listener.
 String getPhases()
           
 Boolean isGenerated()
          Indicates if the property should be generated or not.
 Boolean isInherited()
           
 Boolean isRequired()
          Returns required flag of this facet.
 void merge(ListenerMeta other)
          Merge the data in the specified other property into this one, throwing an exception if there is an incompatibility.
 void setClassName(String className)
           
 void setDescription(String description)
          Sets the description of this property.
 void setEventClassName(String eventClassName)
           
 void setGenerated(Boolean generated)
           
 void setInherited(Boolean inherited)
           
 void setLongDescription(String desc)
           
 void setName(String name)
          Sets the listener name for this listener.
 void setPhases(String phases)
           
 void setRequired(Boolean required)
          Sets the required flag of this facet.
static void writeXml(XmlWriter out, ListenerMeta am)
          Write this model out as xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerMeta

public ListenerMeta()

ListenerMeta

public ListenerMeta(ListenerMeta pm)
Method Detail

writeXml

public static void writeXml(XmlWriter out,
                            ListenerMeta am)
Write this model out as xml.


addXmlRules

public static void addXmlRules(org.apache.commons.digester.Digester digester,
                               String prefix)
Add digester rules to repopulate a Model instance from an xml file.


merge

public void merge(ListenerMeta other)
Merge the data in the specified other property into this one, throwing an exception if there is an incompatibility.


setName

public void setName(String name)
Sets the listener name for this listener.

Parameters:
name - the listener name

getName

public String getName()
Returns the listener name for this listener.

Returns:
the listener name

getClassName

public String getClassName()
The fully-qualified name of the JSF entity class, ie the class that actually implements a Listener.

The specified class may be a hand-written one, or one created via code generation.


setClassName

public void setClassName(String className)

setDescription

public void setDescription(String description)
Sets the description of this property.

Parameters:
description - the property description

getDescription

public String getDescription()
Returns the description of this property.

Returns:
the property description

setRequired

public void setRequired(Boolean required)
Sets the required flag of this facet.

Parameters:
required - the facet required flag

isRequired

public Boolean isRequired()
Returns required flag of this facet.

Returns:
the facet required flag

setLongDescription

public void setLongDescription(String desc)

getLongDescription

public String getLongDescription()

setInherited

public void setInherited(Boolean inherited)

isInherited

public Boolean isInherited()

setGenerated

public void setGenerated(Boolean generated)

isGenerated

public Boolean isGenerated()
Indicates if the property should be generated or not.

Returns:

setEventClassName

public void setEventClassName(String eventClassName)

getEventClassName

public String getEventClassName()

setPhases

public void setPhases(String phases)

getPhases

public String getPhases()


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