org.richfaces.cdk.attributes
Class Element
java.lang.Object
org.richfaces.cdk.attributes.Element
- All Implemented Interfaces:
- KeyedType
public class Element
- extends Object
- implements KeyedType
- Author:
- Nick Belaevski
Element
public Element()
Element
public Element(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
addAttribute
public void addAttribute(Attribute attribute)
getAttributes
public Map<String,Attribute> getAttributes()
- Returns:
- the attributes
setAttributes
public void setAttributes(Map<String,Attribute> attributes)
- Parameters:
attributes - the attributes to set
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.