RefyItem

@MappedSuperclass
abstract class RefyItem : EquinoxItem

The RefyItem class is useful to create a Refy's item giving the basis structure to work correctly

Author

N7ghtm4r3 - Tecknobit

N7ghtm4r3 - Tecknobit

See also

EquinoxItem

Inheritors

Constructors

Link copied to clipboard
constructor(id: String, owner: RefyUser, title: String, description: String)
Constructor to init the RefyItem class
constructor(jRefyItem: JSONObject)
Constructor to init the RefyItem class

Types

Link copied to clipboard
interface ListScreenItem
The ListScreenItem interface useful to manage the item of the items displayed

Properties

Link copied to clipboard
protected val description: String
description the description of the item
Link copied to clipboard
val DESCRIPTION_KEY: String = "description"
DESCRIPTION_KEY the key for the "description" field
Link copied to clipboard
Link copied to clipboard
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
Link copied to clipboard
val OWNED_ONLY_KEY: String = "owned_only"
OWNED_ONLY_KEY the key for the "owned_only" field
Link copied to clipboard
protected val owner: RefyUser
owner the owner of the item
Link copied to clipboard
val OWNER_KEY: String = "owner"
OWNER_KEY the key for the "owner" field
Link copied to clipboard
protected val timeFormatter: TimeFormatter
Link copied to clipboard
protected val title: String
title the title of the item
Link copied to clipboard
val TITLE_KEY: String = "title"
TITLE_KEY the key for the "title" field

Functions

Link copied to clipboard
Method to get description instance No-any params required
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun getOwner(): RefyUser
Method to get owner instance No-any params required
Link copied to clipboard
open fun getTitle(): String
Method to get title instance No-any params required
Link copied to clipboard
open fun toString(): String