added property key

This commit is contained in:
Luca Frosini 2020-12-22 11:40:08 +01:00
parent 3a5ec4c710
commit 30c7f7f1c7
1 changed files with 2 additions and 1 deletions

View File

@ -36,12 +36,13 @@ import org.gcube.resourcemanagement.model.impl.entities.facets.IdentifierFacetIm
public interface IdentifierFacet extends Facet {
public static final String NAME = "IdentifierFacet"; // IdentifierFacet.class.getSimpleName();
public static final String VALUE_PROPERTY = "value";
public enum IdentificationType {
URI, DOI, IRI, URL, URN, UUID, STRING
}
@ISProperty(description = "The identifier", mandatory=true, nullable=false)
@ISProperty(name=VALUE_PROPERTY, description = "The identifier", mandatory=true, nullable=false)
public String getValue();
public void setValue(String value);