Class MetamergeConfigChange


  • public class MetamergeConfigChange
    extends java.lang.Object
    A class describing a change that has happened to the configuration. This is used by the Configuration Editor to update the screen.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BEGIN_CHANGES
      There will be a batch of changes to this source, so no need to update yet
      static int END_CHANGES
      Finished doing the batch of changes
      static int MCC_ADD
      Config object was added
      static int MCC_DELETE
      Config object was deleted
      static int MCC_MODIFY
      Config object was modified
      static int MCC_REMOVE
      Attribute was removed
      static int MCC_REPLACE
      Attribute was replaced
      static int MCC_SET
      Attribute was added
      static int MCC_UNSPECIFIED
      Unknown change event
    • Constructor Summary

      Constructors 
      Constructor Description
      MetamergeConfigChange​(java.lang.Object source, java.lang.Object key, int operation)  
      MetamergeConfigChange​(java.lang.Object source, java.lang.Object key, int operation, java.lang.Object userObject)  
    • Field Detail

      • MCC_UNSPECIFIED

        public static final int MCC_UNSPECIFIED
        Unknown change event
        See Also:
        Constant Field Values
      • MCC_MODIFY

        public static final int MCC_MODIFY
        Config object was modified
        See Also:
        Constant Field Values
      • MCC_DELETE

        public static final int MCC_DELETE
        Config object was deleted
        See Also:
        Constant Field Values
      • MCC_REPLACE

        public static final int MCC_REPLACE
        Attribute was replaced
        See Also:
        Constant Field Values
      • BEGIN_CHANGES

        public static final int BEGIN_CHANGES
        There will be a batch of changes to this source, so no need to update yet
        See Also:
        Constant Field Values
      • END_CHANGES

        public static final int END_CHANGES
        Finished doing the batch of changes
        See Also:
        Constant Field Values
    • Constructor Detail

      • MetamergeConfigChange

        public MetamergeConfigChange​(java.lang.Object source,
                                     java.lang.Object key,
                                     int operation)
      • MetamergeConfigChange

        public MetamergeConfigChange​(java.lang.Object source,
                                     java.lang.Object key,
                                     int operation,
                                     java.lang.Object userObject)
    • Method Detail

      • getOperation

        public int getOperation()
      • getKey

        public java.lang.Object getKey()
      • getSource

        public java.lang.Object getSource()
      • getUserObject

        public java.lang.Object getUserObject()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object