nl.surfnet.coin.selfservice.domain
Class License

java.lang.Object
  extended by nl.surfnet.coin.selfservice.domain.License
All Implemented Interfaces:
Serializable

public class License
extends Object
implements Serializable

License (for software, SaaS, or other) that belongs to an institute, group of individual. A license is typically retrieved from the LMNG.

See Also:
Serialized Form

Field Summary
static List<License> NONE
           
 
Constructor Summary
License()
          Default constructor
License(Date startDate, Date endDate, String licenseNumber, String institutionName)
           
 
Method Summary
 Date getEndDate()
           
 String getInstitutionName()
           
 String getLicenseNumber()
           
 Date getStartDate()
           
 boolean isGroupLicense()
           
 void setEndDate(Date endDate)
           
 void setGroupLicense(boolean groupLicense)
           
 void setInstitutionName(String institutionName)
           
 void setLicenseNumber(String licenseNumber)
           
 void setStartDate(Date startDate)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final List<License> NONE
Constructor Detail

License

public License()
Default constructor


License

public License(Date startDate,
               Date endDate,
               String licenseNumber,
               String institutionName)
Method Detail

getStartDate

public Date getStartDate()

setStartDate

public void setStartDate(Date startDate)

getEndDate

public Date getEndDate()

setEndDate

public void setEndDate(Date endDate)

getLicenseNumber

public String getLicenseNumber()

setLicenseNumber

public void setLicenseNumber(String licenseNumber)

getInstitutionName

public String getInstitutionName()

setInstitutionName

public void setInstitutionName(String institutionName)

toString

public String toString()
Overrides:
toString in class Object

isGroupLicense

public boolean isGroupLicense()

setGroupLicense

public void setGroupLicense(boolean groupLicense)


Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.