Update MoneyDt.java

Add Constructors
This commit is contained in:
James Ren 2016-11-17 13:49:00 -05:00 committed by GitHub
parent 6314f5efb3
commit 14b28fd436
1 changed files with 25 additions and 0 deletions

View File

@ -26,4 +26,29 @@ import ca.uhn.fhir.model.dstu2.composite.QuantityDt;
@DatatypeDef(name="Money", profileOf=QuantityDt.class) @DatatypeDef(name="Money", profileOf=QuantityDt.class)
public class MoneyDt extends QuantityDt { 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);
}
} }