set Default Values
See setDefaultValues(Boolean, Boolean, Boolean, Boolean, Boolean).
See setDefaultValues(Boolean, Boolean, Boolean, Boolean, Boolean).
Parameters
NestedComplex parameter.
See setDefaultValues(Boolean, Boolean, Boolean, Boolean, Boolean).
Parameters
NestedComplex parameter.
NestedEntity parameter.
See setDefaultValues(Boolean, Boolean, Boolean, Boolean, Boolean).
Parameters
NestedComplex parameter.
NestedEntity parameter.
DefaultOptional parameter.
See setDefaultValues(Boolean, Boolean, Boolean, Boolean, Boolean).
Parameters
NestedComplex parameter.
NestedEntity parameter.
DefaultOptional parameter.
DefaultRequired parameter.
Recursively apply default values to any unset properties of this structure.
If a property has a model-defined default value, it will always be applied (since that default value is part of a server's contract with the client, it must always be valid to apply it).
If the property doesn't have a model-defined default value, then null will be used for nullable properties, and false/empty/zero values will be applied otherwise as appropriate. Dates will default to 2000-01-01.
- See Also:
-
{@link com.sap.cloud.mobile.kotlin.odata.StructureBase#hasDataValue(com.sap.cloud.mobile.kotlin.odata.Property) StructureBase.hasDataValue}, {@link com.sap.cloud.mobile.kotlin.odata.Property#defaultValue Property.defaultValue}, {@link com.sap.cloud.mobile.kotlin.odata.StructureType#structuralProperties StructureType.structuralProperties}, {@link com.sap.cloud.mobile.kotlin.odata.StructureType#navigationProperties StructureType.navigationProperties}.
Parameters
Apply recursively to complex-typed (structural) properties of this structure? Defaults to true.
Apply recursively to entity-typed (navigation) properties of this structure? Defaults to false.
Apply non-model-defined default values to optional (nullable) properties? Defaults to true.
Apply non-model-defined default values to required (non-nullable) properties? Defaults to true.
Avoid applying default values to properties which have a database-level default constraint. Defaults to false.