Class PersistentStateAccess

    • Constructor Detail

      • PersistentStateAccess

        public PersistentStateAccess()
        Should be instantiated only from InstallState
    • Method Detail

      • get

        public Object get​(String key)
        Gets the data (value) corresponding to the specified key.
        Specified by:
        get in interface IStateAccess
        Parameters:
        key - a key whose value needs to be determined
        Returns:
        an Object representing the value correponding to the specified key. If no matching key is found, a null value is returned.
      • removeKeys

        public void removeKeys​(Set keys)
      • putData

        public void putData​(Map data)
        Method to merge existing data with data provided in the HashMap
        Specified by:
        putData in interface IStateAccess
      • copyMissingData

        public void copyMissingData​(PersistentStateAccess pStateAccess)
        Method to add data from the specified PersistentStateAccess object corresponding to keys which are missing in this instance.
        Parameters:
        pStateAccess - the PersistentStateAccess object from which the missing data will be added.
      • setCommonDataFlag

        public void setCommonDataFlag​(boolean isCommonData)
      • getGlobalData

        public StateData getGlobalData()
      • setGlobalData

        public void setGlobalData​(StateData sData)
      • getInstanceData

        public StateData getInstanceData()
      • setInstanceData

        public void setInstanceData​(StateData iData)
      • getCompleteData

        public HashMap getCompleteData()
      • setCompleteData

        public void setCompleteData​(HashMap data)