org.apache.myfaces.buildtools.maven2.plugin.faces.parse
Class AttributeBean

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.faces.parse.ObjectBean
      extended by org.apache.myfaces.buildtools.maven2.plugin.faces.parse.AttributeBean
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
PropertyBean

public class AttributeBean
extends ObjectBean
implements java.lang.Comparable

AttributeBean is a Java representation of the faces-config component or renderer attribute XML element.


Constructor Summary
AttributeBean()
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.String getAlternateClass()
          Returns the alternative class for this property.
 java.lang.String getAttributeClass()
          Returns the attribute class for this attribute.
 java.lang.String[] getAttributeClassParameters()
          Returns the array of parameterized types for this attribute if it uses generics.
 java.lang.String getAttributeName()
          Returns the name of this attribute.
 java.lang.String getDefaultValue()
          Returns the default value of this attribute.
 java.lang.String getDescription()
          Returns the description of this attribute.
 MethodSignatureBean getMethodBindingSignature()
          Returns the method binding signature of this property.
 boolean isVirtual()
          Returns virtual flag of this property.
 void setAlternateClass(java.lang.String alternateClass)
          Sets the alternative class for this property.
 void setAttributeClass(java.lang.String attributeClass)
          Sets the attribute class for this attribute.
 void setAttributeName(java.lang.String attributeName)
          Sets the name of this attribute.
 void setDefaultValue(java.lang.String defaultValue)
          Sets the default value of this attribute.
 void setDescription(java.lang.String description)
          Sets the description of this attribute.
 void setMethodBindingSignature(MethodSignatureBean signature)
          Sets the method binding signature of this property.
 void setVirtual(boolean virtual)
          Sets the virtual flag of this property.
 
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.faces.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

AttributeBean

public AttributeBean()
Method Detail

setAttributeName

public void setAttributeName(java.lang.String attributeName)
Sets the name of this attribute.

Parameters:
attributeName - the attribute name

getAttributeName

public java.lang.String getAttributeName()
Returns the name of this attribute.

Returns:
the attribute name

setAttributeClass

public void setAttributeClass(java.lang.String attributeClass)
Sets the attribute class for this attribute.

Parameters:
attributeClass - the attribute class

getAttributeClassParameters

public java.lang.String[] getAttributeClassParameters()
Returns the array of parameterized types for this attribute if it uses generics.

Returns:
the array of parameterized types for this attribute

getAttributeClass

public java.lang.String getAttributeClass()
Returns the attribute class for this attribute.

Returns:
the attribute class

setDescription

public void setDescription(java.lang.String description)
Sets the description of this attribute.

Parameters:
description - the attribute description

getDescription

public java.lang.String getDescription()
Returns the description of this attribute.

Returns:
the attribute description

setDefaultValue

public void setDefaultValue(java.lang.String defaultValue)
Sets the default value of this attribute.

Parameters:
defaultValue - the attribute default value

getDefaultValue

public java.lang.String getDefaultValue()
Returns the default value of this attribute.

Returns:
the attribute default value

setAlternateClass

public void setAlternateClass(java.lang.String alternateClass)
Sets the alternative class for this property.

Parameters:
alternateClass - the alternative class

getAlternateClass

public java.lang.String getAlternateClass()
Returns the alternative class for this property.

Returns:
the alternative class

setMethodBindingSignature

public void setMethodBindingSignature(MethodSignatureBean signature)
Sets the method binding signature of this property.

Parameters:
signature - the method binding signature of this property

getMethodBindingSignature

public MethodSignatureBean getMethodBindingSignature()
Returns the method binding signature of this property.

Returns:
the method binding signature of this property

setVirtual

public void setVirtual(boolean virtual)
Sets the virtual flag of this property.

Parameters:
virtual - the property required flag

isVirtual

public boolean isVirtual()
Returns virtual flag of this property.

Returns:
the property virtual flag

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.