org.richfaces.cdk.attributes
Class Element
java.lang.Object
org.richfaces.cdk.attributes.Element
- All Implemented Interfaces:
- KeyedType
public class Element
- extends java.lang.Object
- implements KeyedType
- Author:
- Nick Belaevski
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Element
public Element()
Element
public Element(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
addAttribute
public void addAttribute(Attribute attribute)
getAttributes
public java.util.Map<java.lang.String,Attribute> getAttributes()
- Returns:
- the attributes
setAttributes
public void setAttributes(java.util.Map<java.lang.String,Attribute> attributes)
- Parameters:
attributes - the attributes 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
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.