AppBundle

public class AppBundle extends GenericParcelable implements Validator, JSONifiable

This is an auto-generated Clover data object.

Fields

Constructors

Link copied to clipboard
public void AppBundle()
Constructs a new empty instance.
public void AppBundle(String json)
Constructs a new instance from the given JSON String.
public void AppBundle(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.
public void AppBundle(AppBundle src)
Constructs a new instance that is a deep copy of the source instance.

Types

Link copied to clipboard
public interface Constraints

Properties

Link copied to clipboard
public final static int CONTENTS_FILE_DESCRIPTOR
Link copied to clipboard
public final static Parcelable.Creator<AppBundle> CREATOR
Link copied to clipboard
Link copied to clipboard
public final static int PARCELABLE_WRITE_RETURN_VALUE

Functions

Link copied to clipboard
public void clearBundleCountries()
Clears the 'bundleCountries' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearId()
Clears the 'id' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearIncludedApps()
Clears the 'includedApps' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearName()
Clears the 'name' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearPrice()
Clears the 'price' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearPricePerDevice()
Clears the 'pricePerDevice' field, the 'has' method for this field will now return false
Link copied to clipboard
public boolean containsChanges()
Returns true if this instance has any changes.
Link copied to clipboard
Create a copy of this instance that contains only fields that were set after the constructor was called.
Link copied to clipboard
public abstract int describeContents()
public final int describeContents()
Link copied to clipboard
public final Bundle getBundle()
Gets a Bundle which can be used to get and set data attached to this instance.
Link copied to clipboard
Bundle country options for this app bundle
Link copied to clipboard
public String getId()
Unique identifier
Link copied to clipboard
Link copied to clipboard
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.
Link copied to clipboard
public String getName()
The name of the bundle
Link copied to clipboard
DEPRECATED: Instead use per country pricing in bundleCountries
Link copied to clipboard
DEPRECATED: Instead use per country pricing in bundleCountries
Link copied to clipboard
public boolean hasBundleCountries()
Checks whether the 'bundleCountries' field has been set, however the value could be null
Link copied to clipboard
public boolean hasId()
Checks whether the 'id' field has been set, however the value could be null
Link copied to clipboard
public boolean hasIncludedApps()
Checks whether the 'includedApps' field has been set, however the value could be null
Link copied to clipboard
public boolean hasName()
Checks whether the 'name' field has been set, however the value could be null
Link copied to clipboard
public boolean hasPrice()
Checks whether the 'price' field has been set, however the value could be null
Link copied to clipboard
public boolean hasPricePerDevice()
Checks whether the 'pricePerDevice' field has been set, however the value could be null
Link copied to clipboard
public boolean isNotEmptyBundleCountries()
Checks whether the 'bundleCountries' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyIncludedApps()
Checks whether the 'includedApps' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotNullBundleCountries()
Checks whether the 'bundleCountries' field is set and is not null
Link copied to clipboard
public boolean isNotNullId()
Checks whether the 'id' field is set and is not null
Link copied to clipboard
public boolean isNotNullIncludedApps()
Checks whether the 'includedApps' field is set and is not null
Link copied to clipboard
public boolean isNotNullName()
Checks whether the 'name' field is set and is not null
Link copied to clipboard
public boolean isNotNullPrice()
Checks whether the 'price' field is set and is not null
Link copied to clipboard
public boolean isNotNullPricePerDevice()
Checks whether the 'pricePerDevice' field is set and is not null
Link copied to clipboard
public void mergeChanges(AppBundle src)
Copy all the changed fields from the given source to this instance.
Link copied to clipboard
public void resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
Link copied to clipboard
Sets the field 'bundleCountries'.
Link copied to clipboard
public AppBundle setId(String id)
Sets the field 'id'.
Link copied to clipboard
public AppBundle setIncludedApps(List<Reference> includedApps)
Sets the field 'includedApps'.
Link copied to clipboard
public AppBundle setName(String name)
Sets the field 'name'.
Link copied to clipboard
public AppBundle setPrice(Long price)
Sets the field 'price'.
Link copied to clipboard
public AppBundle setPricePerDevice(Long pricePerDevice)
Sets the field 'pricePerDevice'.
Link copied to clipboard
public final String toString()
Link copied to clipboard
public void validate()
Link copied to clipboard
public abstract void writeToParcel(Parcel p, int p1)
public final void writeToParcel(Parcel dest, int flags)