Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • createDummyFks

        protected boolean createDummyFks
        Option for creating missing referenced values as dummy (pk-only) entries
    • Constructor Detail

      • 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 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 -