Interface Encrypted
- All Superinterfaces:
Element,ModelElement,Property,PropertyElement,SchemaMixedElement,Serializable
- All Known Implementing Classes:
EncryptedImpl
@TypeMetadata(name="Encrypted",
description="This type is used to properly manage values must be stored safely (e.g. encrypted) in the IS.",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface Encrypted
extends Property
A property type for values that must be stored securely (e.g., encrypted)
within the Information System.
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the Encrypted property type.static final StringThe property name for the encrypted value.Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY -
Method Summary
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypesMethods inherited from interface org.gcube.informationsystem.model.reference.properties.Property
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
Field Details
-
NAME
The name of the Encrypted property type.- See Also:
-
VALUE
The property name for the encrypted value.- See Also:
-
-
Method Details
-
getValue
@ISProperty(name="value", readonly=false, mandatory=true, nullable=false, description="The value to store safely in the IS") String getValue()Returns the value that is to be stored securely.- Returns:
- The value.
-
setValue
Sets the value to be stored securely.- Parameters:
value- The value to set.
-