Specifies a custom
key for the annotated field.
The annotated field's value must be castable to OptionalValue or null.
AutoSODatable will work with this annotation like this:
-
If the field's value is
null, the field will be ignored when creating theSOData. -
If the field's value is castable to
OptionalValue, the optional's value will be added to theSOData, if itexists. -
If the field's value is not castable to
OptionalValue,AutoSODatable.getData()will throw aClassCastException.
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
value
- Returns:
- The key that should be used for this field.
-