Class EULAStatus
- java.lang.Object
-
- LocalMechanism
-
- com.tivoli.am.fim.registrations.local.EULAStatus
-
public class EULAStatus extends LocalMechanism
A class representing a users acceptance of an End User License Agreement.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getDateAccepted()
Getter for the acceptance date/time of this EULA.java.lang.String
getLicenseName()
Getter for the license name of this EULA.JSONObject
toJson()
Get a JSON formatted representation of this EULAStatus.
-
-
-
Method Detail
-
getLicenseName
public java.lang.String getLicenseName()
Getter for the license name of this EULA.- Returns:
- The license name.
-
getDateAccepted
public java.util.Date 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" }
- Returns:
- A JSONObject representation of this EULAStatus.
- See Also:
- IBM JSONObject
-
-