-
- All Implemented Interfaces:
public final class LicenseDocument
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumLicenseDocument.Rel
-
Field Summary
Fields Modifier and Type Field Description private final Stringproviderprivate final Stringidprivate final Dateissuedprivate final Dateupdatedprivate final Encryptionencryptionprivate final Linkslinksprivate final Useruserprivate final Rightsrightsprivate final Signaturesignatureprivate final JSONObjectjsonprivate final Stringdescriptionprivate final ByteArraydata
-
Constructor Summary
Constructors Constructor Description LicenseDocument(ByteArray data)
-
Method Summary
Modifier and Type Method Description final StringgetProvider()final StringgetId()final DategetIssued()final DategetUpdated()final EncryptiongetEncryption()final LinksgetLinks()final UsergetUser()final RightsgetRights()final SignaturegetSignature()final JSONObjectgetJson()final StringgetDescription()final ByteArraygetData()final Linklink(LicenseDocument.Rel rel, MediaType type)final List<Link>links(LicenseDocument.Rel rel, MediaType type)final URLurl(LicenseDocument.Rel rel, MediaType preferredType, Map<String, String> parameters)-
-
Constructor Detail
-
LicenseDocument
LicenseDocument(ByteArray data)
-
-
Method Detail
-
getProvider
final String getProvider()
-
getUpdated
final Date getUpdated()
-
getEncryption
final Encryption getEncryption()
-
getSignature
final Signature getSignature()
-
getJson
final JSONObject getJson()
-
getDescription
final String getDescription()
-
link
final Link link(LicenseDocument.Rel rel, MediaType type)
-
links
final List<Link> links(LicenseDocument.Rel rel, MediaType type)
-
-
-
-