Fixed types

This commit is contained in:
Luca Frosini 2020-12-23 10:33:17 +01:00
parent cb8dee2c9d
commit 346b52a1b6
2 changed files with 2 additions and 3 deletions

View File

@ -13,10 +13,11 @@ import org.gcube.informationsystem.utils.TypeVersion;
* @author Luca Frosini (ISTI - CNR)
*/
@JsonDeserialize(as=EncryptedImpl.class)
@TypeMetadata(name = "Encrypted", description = "This is the base class for Encrypted values", version = TypeVersion.MINIMAL_VERSION_STRING)
@TypeMetadata(name = Encrypted.NAME, description = "This is the base class for Encrypted values", version = TypeVersion.MINIMAL_VERSION_STRING)
@Change(version = TypeVersion.MINIMAL_VERSION_STRING, description = TypeVersion.MINIMAL_VERSION_DESCRIPTION)
public interface Encrypted extends Property {
public static final String NAME = "Encrypted"; // Encrypted.class.getSimpleName();
public static final String VALUE = "value";
@ISProperty(name=VALUE, readonly=false, mandatory=true, nullable=false)

View File

@ -16,8 +16,6 @@ import org.gcube.informationsystem.utils.TypeVersion;
public interface ResourceType extends EntityType {
public static final String NAME = "ResourceType"; //ResourceType.class.getSimpleName();
public static final String DESCRIPTION = "Used to define a Resource Type";
public static final String VERSION = "1.0.0";
public static final String FACETS_PROPERTY = "facets";
public static final String RESOURCES_PROPERTY = "resources";