RichFaces CDK Attributes 4.2.3.CR1

org.richfaces.cdk.attributes
Class Attribute

java.lang.Object
  extended by org.richfaces.cdk.attributes.Attribute
All Implemented Interfaces:
KeyedType

public class Attribute
extends Object
implements KeyedType

Author:
Nick Belaevski

Nested Class Summary
static class Attribute.Kind
           
static class Attribute.Type
           
 
Constructor Summary
Attribute()
           
Attribute(String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getComponentAttributeName()
           
 String getDefaultValue()
           
 String getKey()
           
 Attribute.Kind getKind()
           
 String getName()
           
 int hashCode()
           
 boolean isRequired()
           
 void setComponentAttributeName(String componentAttributeName)
           
 void setDefaultValue(String defaultValue)
           
 void setKind(Attribute.Kind kind)
           
 void setName(String name)
           
 void setRequired(boolean required)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute()

Attribute

public Attribute(String name)
Method Detail

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getKey

public String getKey()
Specified by:
getKey in interface KeyedType

isRequired

public boolean isRequired()
Returns:
the required

setRequired

public void setRequired(boolean required)
Parameters:
required - the required to set

getDefaultValue

public String getDefaultValue()
Returns:
the defaultValue

setDefaultValue

public void setDefaultValue(String defaultValue)
Parameters:
defaultValue - the defaultValue to set

getKind

public Attribute.Kind getKind()
Returns:
the kind

setKind

public void setKind(Attribute.Kind kind)
Parameters:
kind - the kind to set

getComponentAttributeName

public String getComponentAttributeName()
Returns:
the componentAttributeName

setComponentAttributeName

public void setComponentAttributeName(String componentAttributeName)
Parameters:
componentAttributeName - the componentAttributeName to set

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

RichFaces CDK Attributes 4.2.3.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.