Merge pull request #507 from rqg0717/patch-2

Update MoneyDt.java
This commit is contained in:
James Agnew 2016-12-12 07:39:26 -05:00 committed by GitHub
commit 947ccd28a4

View File

@ -26,4 +26,29 @@ import ca.uhn.fhir.model.dstu2.composite.QuantityDt;
@DatatypeDef(name="Money", profileOf=QuantityDt.class)
public class MoneyDt extends QuantityDt {
private static final long serialVersionUID = 1L;
/**
* Constructor
*/
public MoneyDt() {
// nothing
}
/**
* Constructor
*/
@SimpleSetter
public MoneyDt(@SimpleSetter.Parameter(name = "theValue") double theValue) {
setValue(theValue);
}
/**
* Constructor
*/
@SimpleSetter
public MoneyDt(@SimpleSetter.Parameter(name = "theValue") long theValue) {
setValue(theValue);
}
}