org.richfaces.cdk.attributes
Class Attribute
java.lang.Object
org.richfaces.cdk.attributes.Attribute
- All Implemented Interfaces:
- KeyedType
public class Attribute
- extends Object
- implements KeyedType
- Author:
- Nick Belaevski
Attribute
public Attribute()
Attribute
public Attribute(String name)
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
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.