information-system-model/src/main/java/org/gcube/informationsystem/types/reference/entities/FacetType.java

32 lines
1.4 KiB
Java
Raw Normal View History

package org.gcube.informationsystem.types.reference.entities;
2020-02-03 10:51:29 +01:00
import java.util.Set;
2020-07-07 17:04:25 +02:00
import org.gcube.com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.gcube.informationsystem.types.annotations.Final;
2020-02-03 10:51:29 +01:00
import org.gcube.informationsystem.types.annotations.ISProperty;
import org.gcube.informationsystem.types.impl.entities.FacetTypeImpl;
import org.gcube.informationsystem.types.reference.Change;
2020-02-03 10:57:41 +01:00
import org.gcube.informationsystem.types.reference.Type;
import org.gcube.informationsystem.types.reference.TypeMetadata;
2020-02-03 10:51:29 +01:00
import org.gcube.informationsystem.types.reference.properties.PropertyDefinition;
2021-10-21 10:11:45 +02:00
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonDeserialize(as = FacetTypeImpl.class)
2023-04-26 21:39:57 +02:00
@TypeMetadata(name = FacetType.NAME, description = "This type provides information for the definition of any FacetType", version = Version.MINIMAL_VERSION_STRING)
2021-10-21 10:11:45 +02:00
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
@Final
2020-02-03 10:51:29 +01:00
public interface FacetType extends EntityType {
public static final String NAME = "FacetType"; //FacetType.class.getSimpleName();
2020-02-03 10:57:41 +01:00
@ISProperty(name = Type.PROPERTIES_PROPERTY, readonly = false, mandatory = true, nullable = false)
2020-02-03 10:51:29 +01:00
public Set<PropertyDefinition> getProperties();
}