forgerock-authenticator
4.4.0
forgerock-authenticator
/
org.forgerock.android.auth
/
ModelObject
Model
Object
abstract
class
ModelObject
<
T
>
:
Comparable
<
T
>
Base class for objects which are a part of the Authenticator Model.
Inheritors
Account
Mechanism
PushNotification
Members
Constructors
Model
Object
Link copied to clipboard
constructor
(
)
Functions
compare
To
Link copied to clipboard
abstract
fun
compareTo
(
p
:
T
)
:
Int
get
Date
Link copied to clipboard
open
fun
getDate
(
milliSeconds
:
Long
)
:
Calendar
Return date from milliseconds.
matches
Link copied to clipboard
abstract
fun
matches
(
object
:
T
)
:
Boolean
Returns true if the two objects would conflict if added to a storage system.
serialize
Link copied to clipboard
abstract
fun
serialize
(
)
:
String
Serializes the
T
object into its equivalent Json representation.
to
Json
Link copied to clipboard
abstract
fun
toJson
(
)
:
String
Creates a JSON string representation of
T
object.