edu.iastate.metnet.model
Class CodeRulePresentation

java.lang.Object
  extended by edu.iastate.metnet.model.AbstractCodePresentation
      extended by edu.iastate.metnet.model.CodeRulePresentation
All Implemented Interfaces:
ICodePresentation

public class CodeRulePresentation
extends AbstractCodePresentation

Author:
Jie Li object used for the celleditor, and also should be used in the tablemodel at the same time

Constructor Summary
CodeRulePresentation(Coderule coderule)
           
 
Method Summary
 java.lang.Integer getIntegerValue()
           
 java.lang.String getPresentation()
           
 java.lang.String toString()
          for combobox presentation
 
Methods inherited from class edu.iastate.metnet.model.AbstractCodePresentation
getDoubleValue, getStringValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CodeRulePresentation

public CodeRulePresentation(Coderule coderule)
Method Detail

getPresentation

public java.lang.String getPresentation()
Specified by:
getPresentation in interface ICodePresentation
Overrides:
getPresentation in class AbstractCodePresentation

getIntegerValue

public java.lang.Integer getIntegerValue()
Specified by:
getIntegerValue in interface ICodePresentation
Overrides:
getIntegerValue in class AbstractCodePresentation

toString

public java.lang.String toString()
for combobox presentation

Overrides:
toString in class java.lang.Object