Class PeripheralBundleCountry

    • Constructor Detail

      • PeripheralBundleCountry

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

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

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

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

      • getId

        public String getId()
        Unique identifier
      • getPrice

        public Long getPrice()
      • getPricingDescription

        public String getPricingDescription()
        User-friendly description of pricing for peripheral
      • getCountry

        public String getCountry()
        The country of the peripheral bundle country
      • getDeviceTypeName

        public String getDeviceTypeName()
      • getEquipmentCode

        public String getEquipmentCode()
      • getCreatedTime

        public Long getCreatedTime()
        Date/time this bundle was created.
      • getModifiedTime

        public Long getModifiedTime()
        Date/time this bundle was last modified.
      • 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
      • isNotNullId

        public boolean isNotNullId()
        Checks whether the 'id' field is set and is not null
      • isNotNullPrice

        public boolean isNotNullPrice()
        Checks whether the 'price' field is set and is not null
      • isNotNullPricingDescription

        public boolean isNotNullPricingDescription()
        Checks whether the 'pricingDescription' field is set and is not null
      • isNotNullCountry

        public boolean isNotNullCountry()
        Checks whether the 'country' field is set and is not null
      • isNotNullDeviceTypeName

        public boolean isNotNullDeviceTypeName()
        Checks whether the 'deviceTypeName' field is set and is not null
      • isNotNullEquipmentCode

        public boolean isNotNullEquipmentCode()
        Checks whether the 'equipmentCode' field is set and is not null
      • isNotNullCreatedTime

        public boolean isNotNullCreatedTime()
        Checks whether the 'createdTime' field is set and is not null
      • isNotNullModifiedTime

        public boolean isNotNullModifiedTime()
        Checks whether the 'modifiedTime' field is set and is not null
      • hasId

        public boolean hasId()
        Checks whether the 'id' field has been set, however the value could be null
      • hasPrice

        public boolean hasPrice()
        Checks whether the 'price' field has been set, however the value could be null
      • hasPricingDescription

        public boolean hasPricingDescription()
        Checks whether the 'pricingDescription' field has been set, however the value could be null
      • hasCountry

        public boolean hasCountry()
        Checks whether the 'country' field has been set, however the value could be null
      • hasDeviceTypeName

        public boolean hasDeviceTypeName()
        Checks whether the 'deviceTypeName' field has been set, however the value could be null
      • hasEquipmentCode

        public boolean hasEquipmentCode()
        Checks whether the 'equipmentCode' field has been set, however the value could be null
      • hasCreatedTime

        public boolean hasCreatedTime()
        Checks whether the 'createdTime' field has been set, however the value could be null
      • hasModifiedTime

        public boolean hasModifiedTime()
        Checks whether the 'modifiedTime' field has been set, however the value could be null
      • setPricingDescription

        public PeripheralBundleCountry setPricingDescription​(String pricingDescription)
        Sets the field 'pricingDescription'.
      • clearId

        public void clearId()
        Clears the 'id' field, the 'has' method for this field will now return false
      • clearPrice

        public void clearPrice()
        Clears the 'price' field, the 'has' method for this field will now return false
      • clearPricingDescription

        public void clearPricingDescription()
        Clears the 'pricingDescription' field, the 'has' method for this field will now return false
      • clearCountry

        public void clearCountry()
        Clears the 'country' field, the 'has' method for this field will now return false
      • clearDeviceTypeName

        public void clearDeviceTypeName()
        Clears the 'deviceTypeName' field, the 'has' method for this field will now return false
      • clearEquipmentCode

        public void clearEquipmentCode()
        Clears the 'equipmentCode' field, the 'has' method for this field will now return false
      • clearCreatedTime

        public void clearCreatedTime()
        Clears the 'createdTime' field, the 'has' method for this field will now return false
      • clearModifiedTime

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

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