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 theLicenseMeta
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAsBoolean()
Gets the value of the meta information asBoolean
double
getAsDouble()
Gets the value of the meta information asDouble
int
getAsInteger()
Gets the value of the meta information asInteger
String
getKey()
Gets the key of the meta informationString
getValue()
Gets the value of the meta information
-
-
-
Constructor Detail
-
LicenseMeta
public LicenseMeta(String key, String value)
Constructor of theLicenseMeta
class. 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
-
-