If I call IvyObject.getDefault("meinEinfachesDatumsFeld") and myIvyObject a data class is then I get null with the following data types:

  • Date
  • DateTime
  • Duration (Returns a java.lang.Long)
  • Object
  • Time

There may be other types this is the case. Do you have an explanaition for this? Can you reproduce the issue?

asked 07.10.2009 at 11:01

Manuel%20Wallrapp's gravatar image

Manuel Wallrapp
accept rate: 0%

getDefault(...) returns a default value if the value is null for those types that have a default value (e.g. String).

For all other data types getDefault(...) returns the same value as get(...). If no value is set it returns null.


answered 14.10.2009 at 09:51

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
accept rate: 77%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 07.10.2009 at 11:01

Seen: 993 times

Last updated: 07.10.2009 at 11:01