/** * Constructor */ @SimpleSetter public DecimalDt(@SimpleSetter.Parameter(name = "theValue") long theValue) { setValue(new BigDecimal(theValue)); }
/** * Create a new String */ @SimpleSetter public StringDt(@SimpleSetter.Parameter(name = "theString") String theValue) { setValue(theValue); }
/** * Constructor */ @SimpleSetter public Base64BinaryDt(@SimpleSetter.Parameter(name = "theBytes") byte[] theBytes) { setValue(theBytes); }
/** * Constructor */ @SimpleSetter public PositiveIntDt(@SimpleSetter.Parameter(name = "theInteger") int theInteger) { setValue(theInteger); }
/** * Constructor */ @SimpleSetter public QuantityDt(@SimpleSetter.Parameter(name="theValue") double theValue) { setValue(theValue); }
/** * Constructor */ @SimpleSetter public BooleanDt(@SimpleSetter.Parameter(name = "theBoolean") boolean theBoolean) { setValue(theBoolean); }
/** * Constructor */ @SimpleSetter public QuantityDt(@SimpleSetter.Parameter(name="theComparator") QuantityComparatorEnum theComparator, @SimpleSetter.Parameter(name="theValue") double theValue, @SimpleSetter.Parameter(name="theSystem") String theSystem, @SimpleSetter.Parameter(name="theUnits") String theUnits) { setValue(theValue); setComparator(theComparator); setSystem(theSystem); setUnits(theUnits); }
/** * Constructor */ @SimpleSetter public QuantityDt(@SimpleSetter.Parameter(name = "theComparator") QuantityComparatorEnum theComparator, @SimpleSetter.Parameter(name = "theValue") long theValue, @SimpleSetter.Parameter(name = "theUnits") String theUnits) { setValue(theValue); setComparator(theComparator); setUnits(theUnits); }
/** * Constructor */ @SimpleSetter public SimpleQuantityDt(@SimpleSetter.Parameter(name = "theComparator") QuantityComparatorEnum theComparator, @SimpleSetter.Parameter(name = "theValue") double theValue, @SimpleSetter.Parameter(name = "theUnits") String theUnits) { setValue(theValue); setComparator(theComparator); setUnits(theUnits); }
/** * Create a new String */ @SimpleSetter public TimeDt(@SimpleSetter.Parameter(name = "theString") String theValue) { this(); setValue(theValue); }
/** * Constructor */ @SimpleSetter public UnsignedIntDt(@SimpleSetter.Parameter(name = "theInteger") int theInteger) { setValue(theInteger); }
/** * Constructor */ @SimpleSetter public SimpleQuantityDt(@SimpleSetter.Parameter(name = "theComparator") QuantityComparatorEnum theComparator, @SimpleSetter.Parameter(name = "theValue") double theValue, @SimpleSetter.Parameter(name = "theUnits") String theUnits) { setValue(theValue); setComparator(theComparator); setUnit(theUnits); }
/** * Constructor which accepts a string code */ @SimpleSetter() public CodeDt(@SimpleSetter.Parameter(name = "theCode") String theCode) { setValue(theCode); }
/** * Constructor */ @SimpleSetter public SimpleQuantityDt(@SimpleSetter.Parameter(name="theValue") long theValue) { setValue(theValue); }
/** * Constructor which accepts a date value and uses the {@link #DEFAULT_PRECISION} for this type. * <b>Please see the note on timezones</b> on the {@link DateDt class documentation} for considerations * when using this constructor! */ @SimpleSetter(suffix = "WithDayPrecision") public DateDt(@SimpleSetter.Parameter(name = "theDate") Date theDate) { super(theDate, DEFAULT_PRECISION); }
/** * Constructor */ @SimpleSetter public QuantityDt(@SimpleSetter.Parameter(name="theComparator") QuantityComparatorEnum theComparator, @SimpleSetter.Parameter(name="theValue") long theValue, @SimpleSetter.Parameter(name="theSystem") String theSystem, @SimpleSetter.Parameter(name="theUnits") String theUnits) { setValue(theValue); setComparator(theComparator); setSystem(theSystem); setUnits(theUnits); }
/** * Constructor which accepts a string code * * @see #setValueAsString(String) for a description of how this value is applied */ @SimpleSetter() public XhtmlDt(@SimpleSetter.Parameter(name = "theTextDiv") String theTextDiv) { setValueAsString(theTextDiv); }