public class LicenseComplianceInfo extends Object
Constructor and Description |
---|
LicenseComplianceInfo(short product,
short metric,
String productName,
String metricName,
int licensedQty,
int qtyInUse,
boolean baseActive,
boolean prerequisiteMet)
Constructor to hold license compliance info.
|
Modifier and Type | Method and Description |
---|---|
float |
getCompLevel() |
int |
getCompPct() |
int |
getLicensedQty()
Gets actual licensed quantity.
|
short |
getMetric() |
String |
getMetricName() |
short |
getProduct() |
String |
getProductName() |
int |
getQtyInUse() |
boolean |
isBaseActive() |
boolean |
isPrerequisiteMet() |
String |
toString() |
public LicenseComplianceInfo(short product, short metric, String productName, String metricName, int licensedQty, int qtyInUse, boolean baseActive, boolean prerequisiteMet)
product
- compliance info of a productmetric
- compliance info of a product metricproductName
- licensed product namemetricName
- licensed metric namelicensedQty
- the quantity licensed for a product and metricqtyInUse
- the actual metric quantity is in usebaseActive
- is active base foundprerequisiteMet
- is the product prerequisite met or notIllegalArgumentException
- if licensed or in-use quantity value
is invalidpublic short getProduct()
public short getMetric()
public int getLicensedQty()
public int getQtyInUse()
public float getCompLevel()
public int getCompPct()
public boolean isBaseActive()
public boolean isPrerequisiteMet()
public String getProductName()
public String getMetricName()
Copyright © 2015. All Rights Reserved.