Class LimitOption

java.lang.Object
de.elo.ix.client.system.LimitOption

public class LimitOption extends Object
This class represents an entry in the license file that defines a maximum number of accesses for a function/application. EIX_3641
  • Field Details

    • UNDEFINED

      public static final LimitOption UNDEFINED
      An object used for applications that are not associated to a limit option in the license file. Usage for this applications is either free or the application uses its own license check.
    • name

      protected String name
      Option key name in the license file.
    • limit

      protected int limit
      Maximum number of usages of the function/application.
    • description

      protected String description
      Description. E.g. the main function/application associated to this option.
    • count

      protected int count
      Number of usages of the function/application. This value is only valid for objects returned by LicenseUsage.computeEffectiveOptionsUsage().
  • Constructor Details

    • LimitOption

      public LimitOption()
    • LimitOption

      public LimitOption(String name, int value, String description)
    • LimitOption

      public LimitOption(LimitOption rhs)
    • LimitOption

      public LimitOption(String name)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getLimit

      public int getLimit()
    • setLimit

      public void setLimit(int value)
    • hashCode

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

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

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getCount

      public int getCount()
    • setCount

      public void setCount(int count)
    • toString

      public String toString()
      Overrides:
      toString in class Object