Class TerminalManagementComponent

    • Constructor Detail

      • TerminalManagementComponent

        public TerminalManagementComponent()
        Constructs a new empty instance.
      • TerminalManagementComponent

        protected TerminalManagementComponent​(boolean noInit)
        Constructs a new empty instance.
      • TerminalManagementComponent

        public TerminalManagementComponent​(JSONObject jsonObject)
        Construct a new instance backed by the given JSONObject, the parameter is not copied so changes to it will be reflected in this instance and vice-versa.
      • TerminalManagementComponent

        public TerminalManagementComponent​(TerminalManagementComponent src)
        Constructs a new instance that is a deep copy of the source instance. It does not copy the bundle or changelog.
    • Method Detail

      • getItemNumber

        public String getItemNumber()
      • getProvider

        public String getProvider()
      • getSerial

        public String getSerial()
      • getVersion

        public String getVersion()
      • getIdentification

        public String getIdentification()
      • getJSONObject

        public JSONObject getJSONObject()
        Returns the internal JSONObject backing this instance, the return value is not a copy so changes to it will be reflected in this instance and vice-versa.
        Specified by:
        getJSONObject in interface JSONifiable
      • isNotNullType

        public boolean isNotNullType()
        Checks whether the 'type' field is set and is not null
      • isNotNullItemNumber

        public boolean isNotNullItemNumber()
        Checks whether the 'itemNumber' field is set and is not null
      • isNotNullProvider

        public boolean isNotNullProvider()
        Checks whether the 'provider' field is set and is not null
      • isNotNullSerial

        public boolean isNotNullSerial()
        Checks whether the 'serial' field is set and is not null
      • isNotNullVersion

        public boolean isNotNullVersion()
        Checks whether the 'version' field is set and is not null
      • isNotNullIdentification

        public boolean isNotNullIdentification()
        Checks whether the 'identification' field is set and is not null
      • isNotNullStandard

        public boolean isNotNullStandard()
        Checks whether the 'standard' field is set and is not null
      • hasType

        public boolean hasType()
        Checks whether the 'type' field has been set, however the value could be null
      • hasItemNumber

        public boolean hasItemNumber()
        Checks whether the 'itemNumber' field has been set, however the value could be null
      • hasProvider

        public boolean hasProvider()
        Checks whether the 'provider' field has been set, however the value could be null
      • hasSerial

        public boolean hasSerial()
        Checks whether the 'serial' field has been set, however the value could be null
      • hasVersion

        public boolean hasVersion()
        Checks whether the 'version' field has been set, however the value could be null
      • hasIdentification

        public boolean hasIdentification()
        Checks whether the 'identification' field has been set, however the value could be null
      • hasStandard

        public boolean hasStandard()
        Checks whether the 'standard' field has been set, however the value could be null
      • clearType

        public void clearType()
        Clears the 'type' field, the 'has' method for this field will now return false
      • clearItemNumber

        public void clearItemNumber()
        Clears the 'itemNumber' field, the 'has' method for this field will now return false
      • clearProvider

        public void clearProvider()
        Clears the 'provider' field, the 'has' method for this field will now return false
      • clearSerial

        public void clearSerial()
        Clears the 'serial' field, the 'has' method for this field will now return false
      • clearVersion

        public void clearVersion()
        Clears the 'version' field, the 'has' method for this field will now return false
      • clearIdentification

        public void clearIdentification()
        Clears the 'identification' field, the 'has' method for this field will now return false
      • clearStandard

        public void clearStandard()
        Clears the 'standard' field, the 'has' method for this field will now return false
      • containsChanges

        public boolean containsChanges()
        Returns true if this instance has any changes.
      • resetChangeLog

        public void resetChangeLog()
        Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
      • copyChanges

        public TerminalManagementComponent copyChanges()
        Create a copy of this instance that contains only fields that were set after the constructor was called.
      • mergeChanges

        public void mergeChanges​(TerminalManagementComponent src)
        Copy all the changed fields from the given source to this instance.