Package de.elo.ix.client.system
Class LimitOption
java.lang.Object
de.elo.ix.client.system.LimitOption
This class represents an entry in the license file that defines a maximum number of accesses for a function/application.
EIX_3641
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
Number of usages of the function/application.protected String
Description.protected int
Maximum number of usages of the function/application.protected String
Option key name in the license file.static final LimitOption
An object used for applications that are not associated to a limit option in the license file. -
Constructor Summary
ConstructorsConstructorDescriptionLimitOption
(LimitOption rhs) LimitOption
(String name) LimitOption
(String name, int value, String description) -
Method Summary
-
Field Details
-
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
Option key name in the license file. -
limit
protected int limitMaximum number of usages of the function/application. -
description
Description. E.g. the main function/application associated to this option. -
count
protected int countNumber of usages of the function/application. This value is only valid for objects returned byLicenseUsage.computeEffectiveOptionsUsage()
.
-
-
Constructor Details
-
LimitOption
public LimitOption() -
LimitOption
-
LimitOption
-
LimitOption
-
-
Method Details
-
getName
-
setName
-
getLimit
public int getLimit() -
setLimit
public void setLimit(int value) -
hashCode
public int hashCode() -
equals
-
getDescription
-
setDescription
-
getCount
public int getCount() -
setCount
public void setCount(int count) -
toString
-