Class EULAStatus
java.lang.Object
com.tivoli.am.fim.registrations.Mechanism
com.tivoli.am.fim.registrations.local.LocalMechanism
com.tivoli.am.fim.registrations.local.EULAStatus
A class representing a users acceptance of an End User License Agreement.
-
Method Summary
Modifier and TypeMethodDescriptionGetter for the acceptance date/time of this EULA.Getter for the license name of this EULA.JSONObject
toJson()
Get a JSON formatted representation of this EULAStatus.Methods inherited from class com.tivoli.am.fim.registrations.Mechanism
getMechURI, toString
-
Method Details
-
getLicenseName
Getter for the license name of this EULA.- Returns:
- The license name.
-
getDateAccepted
Getter for the acceptance date/time of this EULA.- Returns:
- The acceptance date formatted in ISO 8601 Date format.
-
toJson
public JSONObject toJson()Get a JSON formatted representation of this EULAStatus. Example:{ "mechanismURI" : "urn:ibm:security:authentication:asf:mechanism:eula", "licenseName" : "ExampleEULA", "dateAccepted" : "1970-01-01T00:00:00+0000" }
- Overrides:
toJson
in classLocalMechanism
- Returns:
- A JSONObject representation of this EULAStatus.
- See Also:
-