net.sf.doolin.util
Class CodeLabel

java.lang.Object
  extended by net.sf.doolin.util.CodeLabel

public class CodeLabel
extends Object

Code and label

Author:
Damien Coraboeuf

Constructor Summary
CodeLabel()
          Constructor
CodeLabel(String aCode, String aLabel)
          Code label constructor
 
Method Summary
 boolean equals(Object arg0)
           
 String getCode()
           
 String getLabel()
           
 int hashCode()
           
 void setCode(String code)
           
 void setLabel(String label)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CodeLabel

public CodeLabel()
Constructor


CodeLabel

public CodeLabel(String aCode,
                 String aLabel)
Code label constructor

Parameters:
aCode - Code
aLabel - Label
Method Detail

equals

public boolean equals(Object arg0)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

getCode

public String getCode()
Returns:
Returns the code.

getLabel

public String getLabel()
Returns:
Returns the label.

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

setCode

public void setCode(String code)
Parameters:
code - The code to set.

setLabel

public void setLabel(String label)
Parameters:
label - The label to set.

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2011. All Rights Reserved.