Created
April 26, 2013 01:35
-
-
Save ianwalter/5464561 to your computer and use it in GitHub Desktop.
Models a Stock for the purpose of this example.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.iankwalter.rhinostockexample; | |
/** | |
* Models a Stock for the purpose of this example. | |
* | |
* @author Ian Kennington Walter | |
*/ | |
public class Stock { | |
Double netIncome; | |
Double totalDebt; | |
Double totalCash; | |
Double marketCap; | |
boolean isUndervalued; | |
public Double getNetIncome() { | |
return netIncome; | |
} | |
public void setNetIncome(Double netIncome) { | |
this.netIncome = netIncome; | |
} | |
public Double getTotalDebt() { | |
return totalDebt; | |
} | |
public void setTotalDebt(Double totalDebt) { | |
this.totalDebt = totalDebt; | |
} | |
public Double getTotalCash() { | |
return totalCash; | |
} | |
public void setTotalCash(Double totalCash) { | |
this.totalCash = totalCash; | |
} | |
public Double getMarketCap() { | |
return marketCap; | |
} | |
public void setMarketCap(Double marketCap) { | |
this.marketCap = marketCap; | |
} | |
public boolean isUndervalued() { | |
return isUndervalued; | |
} | |
public void setUndervalued(boolean undervalued) { | |
isUndervalued = undervalued; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment