Package com.sas.lsaf.security.user
Class LicenseType
- java.lang.Object
-
- com.sas.lsaf.security.user.LicenseType
-
- All Implemented Interfaces:
java.io.Serializable
public class LicenseType extends java.lang.Object implements java.io.Serializable
Metadata representation of a license type within the system. License types are not enforced with quotas or any other licensing restrictions. License types are currently just a means of tagging accounts to track for licensing purposes.- Since:
- 1.2
- See Also:
AccountInfo.getLicenseTypeId()
,UserService.getLicenseTypes()
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LicenseType(java.lang.String id, java.lang.String name, java.lang.String description)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDescription()
Gets the description for the license type.java.lang.String
getId()
Gets the unique identifier for the license type.java.lang.String
getName()
Gets the name for the license type.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets the unique identifier for the license type.- Returns:
- The unique identifier for the license type.
-
getName
public java.lang.String getName()
Gets the name for the license type.- Returns:
- The name for the license type.
-
getDescription
public java.lang.String getDescription()
Gets the description for the license type.- Returns:
- The description for the license type.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-