2020-01-30 10:26:43 +01:00
|
|
|
package org.gcube.informationsystem.types.reference.entities;
|
|
|
|
|
2020-02-03 10:51:29 +01:00
|
|
|
import java.util.Set;
|
|
|
|
|
|
|
|
import org.gcube.informationsystem.types.annotations.ISProperty;
|
2020-01-30 10:26:43 +01:00
|
|
|
import org.gcube.informationsystem.types.impl.entities.FacetTypeImpl;
|
2020-02-03 10:57:41 +01:00
|
|
|
import org.gcube.informationsystem.types.reference.Type;
|
2020-02-03 10:51:29 +01:00
|
|
|
import org.gcube.informationsystem.types.reference.properties.PropertyDefinition;
|
2020-01-30 10:26:43 +01:00
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
|
|
|
|
|
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
|
|
@JsonDeserialize(as = FacetTypeImpl.class)
|
2020-02-03 10:51:29 +01:00
|
|
|
public interface FacetType extends EntityType {
|
|
|
|
|
|
|
|
public static final String NAME = "FacetType"; //FacetType.class.getSimpleName();
|
2020-01-30 10:26:43 +01:00
|
|
|
|
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();
|
|
|
|
|
2020-01-30 10:26:43 +01:00
|
|
|
|
|
|
|
}
|