org.rhq.core.domain.common.composite
Class OptionItem<T>

java.lang.Object
  extended by org.rhq.core.domain.common.composite.OptionItem<T>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IntegerOptionItem

public class OptionItem<T>
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
OptionItem(T id, String displayName)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDisplayName()
           
 T getId()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionItem

public OptionItem(T id,
                  String displayName)
Method Detail

getId

public T getId()

getDisplayName

public String getDisplayName()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.