Package org.apache.ofbiz.entity.util
Class EntityStoreOptions
- java.lang.Object
-
- org.apache.ofbiz.entity.util.EntityStoreOptions
-
- All Implemented Interfaces:
java.io.Serializable
public class EntityStoreOptions extends java.lang.Object implements java.io.Serializable
Contains a number of variables used to select certain advanced options for storing GenericEntities.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
createDummyFks
Option for creating missing referenced values as dummy (pk-only) entries
-
Constructor Summary
Constructors Constructor Description EntityStoreOptions()
Default constructor.EntityStoreOptions(boolean createDummyFks)
Optional constructor with options to specify.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCreateDummyFks()
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.
-
-
-
Method Detail
-
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
-
-
-