Class AppTracking

    • Constructor Detail

      • AppTracking

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

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

        public AppTracking​(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.
      • AppTracking

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

      • getDeveloperAppId

        public String getDeveloperAppId()
        The uuid from the developer application. This is typically populated and used only on the back end.
      • getApplicationName

        public String getApplicationName()
        The name of the developer application.
      • getApplicationID

        public String getApplicationID()
        A string representing an application
      • getApplicationVersion

        public String getApplicationVersion()
        A string representing a semanticversion. See http://semver.org/
      • getSourceSDK

        public String getSourceSDK()
        A string representing a SDK
      • getSourceSDKVersion

        public String getSourceSDKVersion()
        A string representing a semanticversion. See http://semver.org/
      • 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
      • isNotNullDeveloperAppId

        public boolean isNotNullDeveloperAppId()
        Checks whether the 'developerAppId' field is set and is not null
      • isNotNullApplicationName

        public boolean isNotNullApplicationName()
        Checks whether the 'applicationName' field is set and is not null
      • isNotNullApplicationID

        public boolean isNotNullApplicationID()
        Checks whether the 'applicationID' field is set and is not null
      • isNotNullApplicationVersion

        public boolean isNotNullApplicationVersion()
        Checks whether the 'applicationVersion' field is set and is not null
      • isNotNullSourceSDK

        public boolean isNotNullSourceSDK()
        Checks whether the 'sourceSDK' field is set and is not null
      • isNotNullSourceSDKVersion

        public boolean isNotNullSourceSDKVersion()
        Checks whether the 'sourceSDKVersion' field is set and is not null
      • hasDeveloperAppId

        public boolean hasDeveloperAppId()
        Checks whether the 'developerAppId' field has been set, however the value could be null
      • hasApplicationName

        public boolean hasApplicationName()
        Checks whether the 'applicationName' field has been set, however the value could be null
      • hasApplicationID

        public boolean hasApplicationID()
        Checks whether the 'applicationID' field has been set, however the value could be null
      • hasApplicationVersion

        public boolean hasApplicationVersion()
        Checks whether the 'applicationVersion' field has been set, however the value could be null
      • hasSourceSDK

        public boolean hasSourceSDK()
        Checks whether the 'sourceSDK' field has been set, however the value could be null
      • hasSourceSDKVersion

        public boolean hasSourceSDKVersion()
        Checks whether the 'sourceSDKVersion' field has been set, however the value could be null
      • setDeveloperAppId

        public AppTracking setDeveloperAppId​(String developerAppId)
        Sets the field 'developerAppId'.
      • setApplicationName

        public AppTracking setApplicationName​(String applicationName)
        Sets the field 'applicationName'.
      • setApplicationID

        public AppTracking setApplicationID​(String applicationID)
        Sets the field 'applicationID'.
      • setApplicationVersion

        public AppTracking setApplicationVersion​(String applicationVersion)
        Sets the field 'applicationVersion'.
      • setSourceSDK

        public AppTracking setSourceSDK​(String sourceSDK)
        Sets the field 'sourceSDK'.
      • setSourceSDKVersion

        public AppTracking setSourceSDKVersion​(String sourceSDKVersion)
        Sets the field 'sourceSDKVersion'.
      • clearDeveloperAppId

        public void clearDeveloperAppId()
        Clears the 'developerAppId' field, the 'has' method for this field will now return false
      • clearApplicationName

        public void clearApplicationName()
        Clears the 'applicationName' field, the 'has' method for this field will now return false
      • clearApplicationID

        public void clearApplicationID()
        Clears the 'applicationID' field, the 'has' method for this field will now return false
      • clearApplicationVersion

        public void clearApplicationVersion()
        Clears the 'applicationVersion' field, the 'has' method for this field will now return false
      • clearSourceSDK

        public void clearSourceSDK()
        Clears the 'sourceSDK' field, the 'has' method for this field will now return false
      • clearSourceSDKVersion

        public void clearSourceSDKVersion()
        Clears the 'sourceSDKVersion' 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 AppTracking copyChanges()
        Create a copy of this instance that contains only fields that were set after the constructor was called.
      • mergeChanges

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