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

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

public class FacetMeta
extends Object

FacetBean is a Java representation of the faces-config component or renderer facet XML element.


Constructor Summary
FacetMeta()
           
FacetMeta(FacetMeta 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 getDescription()
          Returns the description of this property.
 String getLongDescription()
           
 String getName()
          Returns the facet name for this facet.
 Boolean isGenerated()
          Indicates if the property should be generated or not.
 Boolean isInherited()
           
 Boolean isRequired()
          Returns required flag of this facet.
 void merge(FacetMeta other)
          Merge the data in the specified other property into this one, throwing an exception if there is an incompatibility.
 void setDescription(String description)
          Sets the description of this property.
 void setGenerated(Boolean generated)
           
 void setInherited(Boolean inherited)
           
 void setLongDescription(String desc)
           
 void setName(String name)
          Sets the facet name for this facet.
 void setRequired(Boolean required)
          Sets the required flag of this facet.
static void writeXml(XmlWriter out, FacetMeta 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

FacetMeta

public FacetMeta()

FacetMeta

public FacetMeta(FacetMeta pm)
Method Detail

writeXml

public static void writeXml(XmlWriter out,
                            FacetMeta 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(FacetMeta 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 facet name for this facet.

Parameters:
facetName - the facet name

getName

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

Returns:
the facet name

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:


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