TagItem

public class TagItem extends GenericParcelable implements Validator, JSONifiable

This is an auto-generated Clover data object.

Fields

See also

Constructors

Link copied to clipboard
public void TagItem()
Constructs a new empty instance.
public void TagItem(String json)
Constructs a new instance from the given JSON String.
public void TagItem(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 TagItem(TagItem 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<TagItem> CREATOR
Link copied to clipboard
Link copied to clipboard
public final static int PARCELABLE_WRITE_RETURN_VALUE

Functions

Link copied to clipboard
public void clearItem()
Clears the 'item' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearTag()
Clears the 'tag' 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
public Item getItem()
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 Tag getTag()
Link copied to clipboard
public boolean hasItem()
Checks whether the 'item' field has been set, however the value could be null
Link copied to clipboard
public boolean hasTag()
Checks whether the 'tag' field has been set, however the value could be null
Link copied to clipboard
public boolean isNotNullItem()
Checks whether the 'item' field is set and is not null
Link copied to clipboard
public boolean isNotNullTag()
Checks whether the 'tag' field is set and is not null
Link copied to clipboard
public void mergeChanges(TagItem 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
public TagItem setItem(Item item)
Sets the field 'item'.
Link copied to clipboard
public TagItem setTag(Tag tag)
Sets the field 'tag'.
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)