Package org.apache.ofbiz.entity.util
Class EntityStoreOptions
java.lang.Object
org.apache.ofbiz.entity.util.EntityStoreOptions
- All Implemented Interfaces:
Serializable
Contains a number of variables used to select certain advanced options for storing GenericEntities.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor.EntityStoreOptions
(boolean createDummyFks) Optional constructor with options to specify. -
Method Summary
Modifier and TypeMethodDescriptionboolean
If true, missing entries in FK referenced entities will be created while storing the given GenericValues.void
setCreateDummyFks
(boolean createDummyFks) If true, missing entries in FK referenced entities will be created while storing the given GenericValues.
-
Constructor Details
-
EntityStoreOptions
public EntityStoreOptions()Default constructor. Defaults are as follows: createDummyFks = false -
EntityStoreOptions
public EntityStoreOptions(boolean createDummyFks) Optional constructor with options to specify.- Parameters:
createDummyFks
-
-
-
Method Details
-
isCreateDummyFks
public boolean isCreateDummyFks()If true, missing entries in FK referenced entities will be created while storing the given GenericValues.- Returns:
- boolean
-
setCreateDummyFks
public void setCreateDummyFks(boolean createDummyFks) If true, missing entries in FK referenced entities will be created while storing the given GenericValues.- Parameters:
createDummyFks
-
-