public class LicenseProperties extends Object implements Serializable
| Constructor and Description |
|---|
LicenseProperties()
Default Constructor
|
LicenseProperties(LicenseProperties template)
Copy/clone Constructor - the resulting object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
|
String |
getConditions()
Return any conditions or endorsements to this license.
|
String |
getCustodian()
Return the person/team responsible for ensuring that the license conditions are adhered to.
|
String |
getCustodianPropertyName()
Return the name of the property from the element supplying the custodian property.
|
String |
getCustodianTypeName()
Return the name of the type of the element supplying the custodian property.
|
Date |
getEndDate()
Return the date/time that this license is no longer valid.
|
String |
getLicensedBy()
Return the name of the person in the license authority that granted this license.
|
String |
getLicensedByPropertyName()
Return the name of the property from the element supplying the licensedBy property.
|
String |
getLicensedByTypeName()
Return the name of the type of the element supplying the licensedBy property.
|
String |
getLicensee()
Return the person/team that received the license.
|
String |
getLicenseePropertyName()
Return the name of the property from the element supplying the licensee property.
|
String |
getLicenseeTypeName()
Return the name of the type of the element supplying the licensee property.
|
String |
getLicenseId()
Return the unique identifier of the license.
|
String |
getNotes()
Return any notes associated with the license.
|
Date |
getStartDate()
Return the date/time that this license is valid from.
|
int |
hashCode()
Just use the GUID for the hash code as it should be unique.
|
void |
setConditions(String conditions)
Set up any conditions or endorsements to this license.
|
void |
setCustodian(String custodian)
Set up the person/team responsible for ensuring that the license conditions are adhered to.
|
void |
setCustodianPropertyName(String custodianPropertyName)
Set up the name of the property from the element supplying the custodian property.
|
void |
setCustodianTypeName(String custodianTypeName)
Set up the name of the type of the element supplying the custodian property.
|
void |
setEndDate(Date endDate)
Set up the date/time that this license is no longer valid.
|
void |
setLicensedBy(String licensedBy)
Set up the name of the person in the license authority that granted this license.
|
void |
setLicensedByPropertyName(String licensedByPropertyName)
Set up the name of the property from the element supplying the licensedBy property.
|
void |
setLicensedByTypeName(String licensedByTypeName)
Set up the name of the type of the element supplying the licensedBy property.
|
void |
setLicensee(String licensee)
Set up the person/team that received the license.
|
void |
setLicenseePropertyName(String licenseePropertyName)
Set up the name of the property from the element supplying the licensee property.
|
void |
setLicenseeTypeName(String licenseeTypeName)
Set up the name of the type of the element supplying the licensee property.
|
void |
setLicenseId(String licenseId)
Set up the unique identifier of the license.
|
void |
setNotes(String notes)
Set up any notes associated with the license.
|
void |
setStartDate(Date startDate)
Set up the date/time that this license is valid from.
|
String |
toString()
JSON-style toString.
|
public LicenseProperties()
public LicenseProperties(LicenseProperties template)
template - object being copiedpublic String getLicenseId()
public void setLicenseId(String licenseId)
licenseId - stringpublic Date getStartDate()
public void setStartDate(Date startDate)
startDate - date/timepublic Date getEndDate()
public void setEndDate(Date endDate)
endDate - date/timepublic String getConditions()
public void setConditions(String conditions)
conditions - string textpublic String getLicensedBy()
public void setLicensedBy(String licensedBy)
licensedBy - string name/idpublic String getLicensedByTypeName()
public void setLicensedByTypeName(String licensedByTypeName)
licensedByTypeName - string type namepublic String getLicensedByPropertyName()
public void setLicensedByPropertyName(String licensedByPropertyName)
licensedByPropertyName - string property namepublic String getCustodian()
public void setCustodian(String custodian)
custodian - string name/idpublic String getCustodianTypeName()
public void setCustodianTypeName(String custodianTypeName)
custodianTypeName - string type namepublic String getCustodianPropertyName()
public void setCustodianPropertyName(String custodianPropertyName)
custodianPropertyName - string property namepublic String getLicensee()
public void setLicensee(String licensee)
licensee - string name/idpublic String getLicenseeTypeName()
public void setLicenseeTypeName(String licenseeTypeName)
licenseeTypeName - string type namepublic String getLicenseePropertyName()
public void setLicenseePropertyName(String licenseePropertyName)
licenseePropertyName - string property namepublic String getNotes()
public void setNotes(String notes)
notes - string textpublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.