-
- All Implemented Interfaces:
-
android.os.Parcelable,java.io.Serializable,java.lang.Cloneable
public class MenigaTag implements Parcelable, Serializable, Cloneable
Represents a tag in the Meniga system. Tags can only be created as text in a comment by using the # character, terminated by a non alpha numeric character. Tags can also only be deleted by removing the the text from the comment (updating or deleting the comment).
Copyright 2017 Meniga Iceland Inc.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.CreatorCREATORprotected intidprotected Stringname
-
Method Summary
Modifier and Type Method Description static voidsetOperator(MenigaTagOperations operator)Sets the api operator for doing api calls intdescribeContents()voidwriteToParcel(Parcel dest, int flags)booleanequals(Object o)inthashCode()StringtoString()static Result<List<MenigaTag>>fetch()static Result<MenigaTag>fetch(long id)Get a tag with a specific id intgetId()StringgetName()voidsetName(String name)-
-
Method Detail
-
setOperator
static void setOperator(MenigaTagOperations operator)
Sets the api operator for doing api calls
- Parameters:
operator- An object that implements the MenigaTagOperations interface for carrying out api operations on this class.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
hashCode
int hashCode()
-
fetch
static Result<MenigaTag> fetch(long id)
Get a tag with a specific id
- Parameters:
id- The id of the tag to retrieve
-
getId
int getId()
-
-
-
-