Class Config4Field

    • Method Detail

      • deepClone

        public java.lang.Object deepClone​(java.lang.Object param)
        Description copied from interface: DeepClone
        The parameter allows passing one new object so parent references can be corrected on children.
        Specified by:
        deepClone in interface DeepClone
      • rename

        public void rename​(java.lang.String newName)
        Description copied from interface: ObjectField
        renames a field of a stored class.

        Use this method to refactor classes.

        In client-server environment this setting should be used on both client and server.

        This setting can NOT be applied to an open object container.

        Specified by:
        rename in interface ObjectField
        Parameters:
        newName - the new field name.
      • indexed

        public void indexed​(boolean flag)
        Description copied from interface: ObjectField
        turns indexing on or off.

        Field indices dramatically improve query performance but they may considerably reduce storage and update performance.
        The best benchmark whether or not an index on a field achieves the desired result is the completed application - with a data load that is typical for it's use.

        This configuration setting is only checked when the ObjectContainer is opened. If the setting is set to true and an index does not exist, the index will be created. If the setting is set to false and an index does exist the index will be dropped.

        In client-server environment this setting should be used on both client and server.

        If this setting is applied to an open ObjectContainer it will take an effect on the next time ObjectContainer is opened.

        Specified by:
        indexed in interface ObjectField
        Parameters:
        flag - specify true or false to turn indexing on for this field
      • used

        public void used​(boolean flag)
      • used

        public boolean used()