org.richfaces.cdk.attributes
Class Element

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

public class Element
extends java.lang.Object
implements KeyedType

Author:
Nick Belaevski

Nested Class Summary
static class Element.Type
           
 
Constructor Summary
Element()
           
Element(java.lang.String name)
           
 
Method Summary
 void addAttribute(Attribute attribute)
           
 boolean equals(java.lang.Object obj)
           
 java.util.Map<java.lang.String,Attribute> getAttributes()
           
 java.lang.String getKey()
           
 java.lang.String getName()
           
 int hashCode()
           
 void setAttributes(java.util.Map<java.lang.String,Attribute> attributes)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Element

public Element()

Element

public Element(java.lang.String name)
Method Detail

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.