Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
basicvalueobjectsarticle [2021/10/12 11:59] wikiadmin [Value Object Types] |
basicvalueobjectsarticle [2021/10/13 13:05] (current) wikiadmin [Other Types] |
||
---|---|---|---|
Line 38: | Line 38: | ||
- | === Integer Types === | + | === Long Value Object (LongValueObject) |
+ | The LongValueObject can be created from any integer-type value, including boolean, | ||
- | Integer type value objects are numeric, can be store Boolean, | + | [[longvalueobjects|Long Value Objects]] |
=== Real Types === | === Real Types === | ||
Line 50: | Line 51: | ||
- | === String | + | === String |
A StringValueObject contains a String value. Only Strings are stored, so in scripting only getStringValue() can be used to access its value. If you use setXXXXValue() on a StringValueObject you will be converting a numeric data type to a String (and will normally store two decimal places for a real number unless you first convert the real to a string with more decimal places). | A StringValueObject contains a String value. Only Strings are stored, so in scripting only getStringValue() can be used to access its value. If you use setXXXXValue() on a StringValueObject you will be converting a numeric data type to a String (and will normally store two decimal places for a real number unless you first convert the real to a string with more decimal places). | ||
Line 67: | Line 68: | ||
[[daterangevalueobject|Date Range Value Object]] is a ValueObject which contains a date range (two dates, a start date and an end date). | [[daterangevalueobject|Date Range Value Object]] is a ValueObject which contains a date range (two dates, a start date and an end date). | ||
+ | |||
+ | [[binaryvalueobjects|Binary Value Object]] is a ValueObject which contains a byte array (byte[]) | ||