Ametista Item

@MappedSuperclass
abstract class AmetistaItem : EquinoxItem

The AmetistaItem class is useful to create an Ametista's item giving the basis structure to work correctly

Author

N7ghtm4r3 - Tecknobit

See also

EquinoxItem

Inheritors

Constructors

Link copied to clipboard
constructor()
Constructor to init the AmetistaItem class
constructor(id: String, name: String, creationDate: Long)
Constructor to init the AmetistaItem class
constructor(jItem: JSONObject)
Constructor to init the AmetistaItem class

Properties

Link copied to clipboard
val CREATION_DATE_KEY: String = "creation_date"
CREATION_DATE_KEY the key for the "creation_date" field
Link copied to clipboard
protected val creationDate: Long
creationDate the timestamp when the item has been created
Link copied to clipboard
Link copied to clipboard
val FILTERS_KEY: String = "filters"
FILTERS_KEY the key for the "filters" field
Link copied to clipboard
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
Link copied to clipboard
protected open var name: String
name the name of the item
Link copied to clipboard
protected val timeFormatter: TimeFormatter

Functions

Link copied to clipboard
open fun getCreationDate(): String
Method to get creationDate instance
Link copied to clipboard
Method to get creationDate instance
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun getName(): String
Method to get name instance
Link copied to clipboard
open fun toString(): String