-
- 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.Creator
CREATOR
protected int
id
protected String
name
-
Method Summary
Modifier and Type Method Description static void
setOperator(MenigaTagOperations operator)
Sets the api operator for doing api calls int
describeContents()
void
writeToParcel(Parcel dest, int flags)
boolean
equals(Object o)
int
hashCode()
String
toString()
static Result<List<MenigaTag>>
fetch()
static Result<MenigaTag>
fetch(long id)
Get a tag with a specific id int
getId()
String
getName()
void
setName(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()
-
-
-
-