org.richfaces.cdk.attributes
Class Attribute
java.lang.Object
org.richfaces.cdk.attributes.Attribute
- All Implemented Interfaces:
- KeyedType
public class Attribute
- extends java.lang.Object
- implements KeyedType
- Author:
- Nick Belaevski
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Attribute
public Attribute()
Attribute
public Attribute(java.lang.String name)
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- Parameters:
name - the name to set
getKey
public java.lang.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 java.lang.String getDefaultValue()
- Returns:
- the defaultValue
setDefaultValue
public void setDefaultValue(java.lang.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 java.lang.String getComponentAttributeName()
- Returns:
- the componentAttributeName
setComponentAttributeName
public void setComponentAttributeName(java.lang.String componentAttributeName)
- Parameters:
componentAttributeName - the componentAttributeName to set
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.