Beaconstac Android  0.9.9
com.mobstac.beaconstac.models.MSCard Class Reference
Inheritance diagram for com.mobstac.beaconstac.models.MSCard:
com.mobstac.beaconstac.models.ModelBase

Classes

enum  MSCardType
 

Public Member Functions

 MSCard (int id, String title, String body, int organizationId, int cardType, JSONObject meta, Date created, Date modified)
 
int getCardID ()
 
String getTitle ()
 
String getBody ()
 
int getOrganizationId ()
 
MSCardType getType ()
 
ArrayList< MSMediagetMediaArray ()
 
void setMediaArray (ArrayList< MSMedia > mediaArray)
 
JSONObject getCardMeta ()
 
Date getCreated ()
 
Date getModified ()
 
ArrayList getTags ()
 
void setTags (ArrayList tags)
 
 MSCard (Parcel p)
 
- Public Member Functions inherited from com.mobstac.beaconstac.models.ModelBase
 ModelBase (Object...objects)
 

Additional Inherited Members

- Static Protected Attributes inherited from com.mobstac.beaconstac.models.ModelBase
static final String idString = "_id"
 
static final String[] base_columns = { idString }
 

Member Function Documentation

String com.mobstac.beaconstac.models.MSCard.getBody ( )

Returns the body of the card

int com.mobstac.beaconstac.models.MSCard.getCardID ( )

Returns the ID of the card

JSONObject com.mobstac.beaconstac.models.MSCard.getCardMeta ( )

Returns meta information associated with the card

Date com.mobstac.beaconstac.models.MSCard.getCreated ( )

Returns the date when the card was created

ArrayList<MSMedia> com.mobstac.beaconstac.models.MSCard.getMediaArray ( )

Returns an array of MSMedia object

See also
MSMedia
Date com.mobstac.beaconstac.models.MSCard.getModified ( )

Returns the date when the card was last modified

int com.mobstac.beaconstac.models.MSCard.getOrganizationId ( )

Returns the organization ID associated with the card

ArrayList com.mobstac.beaconstac.models.MSCard.getTags ( )

Returns an array of tags associated to the card

String com.mobstac.beaconstac.models.MSCard.getTitle ( )

Returns the name of the card

MSCardType com.mobstac.beaconstac.models.MSCard.getType ( )

Returns the type of the card

See also
MSCardType
void com.mobstac.beaconstac.models.MSCard.setMediaArray ( ArrayList< MSMedia mediaArray)

Attaches an array of MSMedia objects to the card

Parameters
mediaArray

The documentation for this class was generated from the following file: