Class LicenseType

java.lang.Object
com.sas.lsaf.security.user.LicenseType
All Implemented Interfaces:
Serializable

public class LicenseType extends Object implements 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:
  • Constructor Details

    • LicenseType

      public LicenseType(String id, String name, String description)
      Constructor.
      Parameters:
      id - the unique idntifier for the license type.
      name - the name for the license type.
      description - the description for the license type.
  • Method Details

    • getId

      public String getId()
      Gets the unique identifier for the license type.
      Returns:
      The unique identifier for the license type.
    • getName

      public String getName()
      Gets the name for the license type.
      Returns:
      The name for the license type.
    • getDescription

      public String getDescription()
      Gets the description for the license type.
      Returns:
      The description for the license type.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object