Skip to content

Instantly share code, notes, and snippets.

@ianwalter
Created April 26, 2013 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ianwalter/5464561 to your computer and use it in GitHub Desktop.
Save ianwalter/5464561 to your computer and use it in GitHub Desktop.
Models a Stock for the purpose of this example.
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