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:
Property
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEThe name of the Encrypted property type.static StringVALUEThe property name for the encrypted value.-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetValue()Returns the value that is to be stored securely.voidsetValue(String value)Sets the value to be stored securely.-
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeName
-
Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
Methods inherited from interface org.gcube.informationsystem.model.reference.properties.Property
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
-
-
-
Field Detail
-
NAME
static final String NAME
The name of the Encrypted property type.- See Also:
- Constant Field Values
-
VALUE
static final String VALUE
The property name for the encrypted value.- See Also:
- Constant Field Values
-
-
Method Detail
-
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
void setValue(String value)
Sets the value to be stored securely.- Parameters:
value- The value to set.
-
-