org.kite9.diagram.builders.noun
Class SimpleNounImpl

java.lang.Object
  extended by org.kite9.diagram.builders.noun.SimpleNounImpl
All Implemented Interfaces:
NounPart, SimpleNoun

public class SimpleNounImpl
extends Object
implements SimpleNoun

e.g. John, Account, a simple class, a method etc.

Author:
moffatr

Constructor Summary
SimpleNounImpl(Object represented, Aliaser a)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getLabel()
           
 Object getRepresented()
           
 String getStereotype()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleNounImpl

public SimpleNounImpl(Object represented,
                      Aliaser a)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getRepresented

public Object getRepresented()
Specified by:
getRepresented in interface NounPart

getLabel

public String getLabel()
Specified by:
getLabel in interface SimpleNoun

getStereotype

public String getStereotype()
Specified by:
getStereotype in interface SimpleNoun

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.