Package de.licenseapi.entities
Class LicenseMeta
- java.lang.Object
-
- de.licenseapi.entities.LicenseMeta
-
public class LicenseMeta extends Object
-
-
Constructor Summary
Constructors Constructor Description LicenseMeta(String key, String value)Constructor of theLicenseMetaclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAsBoolean()Gets the value of the meta information asBooleandoublegetAsDouble()Gets the value of the meta information asDoubleintgetAsInteger()Gets the value of the meta information asIntegerStringgetKey()Gets the key of the meta informationStringgetValue()Gets the value of the meta information
-
-
-
Constructor Detail
-
LicenseMeta
public LicenseMeta(String key, String value)
Constructor of theLicenseMetaclass. It contains the key and the value of the meta.You can define the meta in the project dashboard.
- Parameters:
key- The key of the meta informationvalue- The value of the meta information
-
-
Method Detail
-
getKey
public String getKey()
Gets the key of the meta information- Returns:
- the key of the meta information
-
getValue
public String getValue()
Gets the value of the meta information- Returns:
- the value of the meta information
-
getAsInteger
public int getAsInteger()
Gets the value of the meta information asInteger- Returns:
- the value of the meta information as
Integer
-
getAsDouble
public double getAsDouble()
Gets the value of the meta information asDouble- Returns:
- the value of the meta information as
Double
-
-