Class ApiClient
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.ApiClient
- All Implemented Interfaces:
Serializable, Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected BigDecimalprotected Stringprotected BigDecimalprotected Stringprotected Stringprotected StringFields inherited from class DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StringGenerates a random hex secret string (48 hex chars).booleangetId()inthashCode()voidsetActive(boolean v) voidvoidsetComment(String v) voidvoidvoidvoidvoidvoidstatic StringReturns the SHA-256 hex digest of the given input string.Methods inherited from class DataBaseObject
bigDecimalToTimestamp, clone, compare, compare, getCollectionSize, integerToInt, integerToString, removeHiddenOptions, setCollectionSize, strim, stringToInteger, stringToLong, stringToString, timestampToBigDecimal, toString, toString, toString, toString
-
Field Details
-
APU_ID
-
APU_SECRET_HASH
-
APU_COMMENT
-
APU_ACTIVE
protected boolean APU_ACTIVE -
APU_CREATED
-
APU_LAST_USED
-
APU_LAST_USED_HOST
-
COU_ISO
-
-
Constructor Details
-
ApiClient
public ApiClient() -
ApiClient
-
-
Method Details
-
getId
-
setId
-
getSecretHash
-
setSecretHash
-
getComment
-
setComment
-
getActive
public boolean getActive() -
setActive
public void setActive(boolean v) -
setActive
-
getCreated
-
setCreated
-
getLastUsed
-
setLastUsed
-
getLastUsedHost
-
setLastUsedHost
-
getCountryIso
-
setCountryIso
-
generateSecret
Generates a random hex secret string (48 hex chars). -
sha256Hex
-
hashCode
-
equals
-