Class PrometheusEncryptedValues
java.lang.Object
io.github.tonywasher.joceanus.metis.field.MetisFieldVersionValues
io.github.tonywasher.joceanus.prometheus.data.PrometheusEncryptedValues
Prometheus Set of versioned Values.
-
Field Summary
Fields inherited from class io.github.tonywasher.joceanus.metis.field.MetisFieldVersionValues
ERROR_NOTVERSIONED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadoptSecurity(PrometheusEncryptedValues pBaseValues) Adopt security for the values.cloneIt()Clone this ValueSet.byte[]Obtain the encrypted bytes.byte[]Obtain the encrypted bytes.Obtain the encrypted pair.Obtain the encrypted pair.protected PrometheusEncryptedDataItemgetItem()Obtain the underlying item.getValue(MetisFieldItem.MetisFieldDef pField) Get the value.voidsetValue(MetisFieldItem.MetisFieldDef pField, Object pValue) Set the value.voidUpdate security for the values.Methods inherited from class io.github.tonywasher.joceanus.metis.field.MetisFieldVersionValues
checkValueType, copyFrom, differs, equals, fieldChanged, fieldChanged, getFields, getValue, getValue, getValue, getVersion, hashCode, isDeletion, setDeletion, setUncheckedValue, setUncheckedValue, setValue, setVersion
-
Constructor Details
-
PrometheusEncryptedValues
Constructor.- Parameters:
pItem- the associated item
-
-
Method Details
-
cloneIt
Description copied from class:MetisFieldVersionValuesClone this ValueSet.- Overrides:
cloneItin classMetisFieldVersionValues- Returns:
- the cloned set
-
getItem
Description copied from class:MetisFieldVersionValuesObtain the underlying item.- Overrides:
getItemin classMetisFieldVersionValues- Returns:
- the item
-
getValue
Description copied from class:MetisFieldVersionValuesGet the value.- Overrides:
getValuein classMetisFieldVersionValues- Parameters:
pField- the field- Returns:
- the value
-
getEncryptedBytes
Obtain the encrypted bytes.- Parameters:
pFieldId- the fieldId- Returns:
- the encrypted bytes
-
getEncryptedBytes
Obtain the encrypted bytes.- Parameters:
pField- the field- Returns:
- the encrypted bytes
-
getEncryptedPair
Obtain the encrypted pair.- Parameters:
pFieldId- the fieldId- Returns:
- the encrypted pair
-
getEncryptedPair
Obtain the encrypted pair.- Parameters:
pField- the field- Returns:
- the encrypted pair
-
setValue
Description copied from class:MetisFieldVersionValuesSet the value.- Overrides:
setValuein classMetisFieldVersionValues- Parameters:
pField- the fieldpValue- the value- Throws:
OceanusException- on error
-
updateSecurity
Update security for the values.- Throws:
OceanusException- on error
-
adoptSecurity
Adopt security for the values.- Parameters:
pBaseValues- the base values- Throws:
OceanusException- on error
-