28 lines
1.2 KiB
Java
28 lines
1.2 KiB
Java
package org.gcube.informationsystem.types.reference.relations;
|
|
|
|
import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
|
import org.gcube.informationsystem.base.reference.AccessType;
|
|
import org.gcube.informationsystem.types.impl.relations.ConsistsOfTypeImpl;
|
|
import org.gcube.informationsystem.types.reference.Change;
|
|
import org.gcube.informationsystem.types.reference.TypeMetadata;
|
|
import org.gcube.informationsystem.types.reference.entities.FacetType;
|
|
import org.gcube.informationsystem.types.reference.entities.ResourceType;
|
|
import org.gcube.informationsystem.utils.TypeVersion;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
*/
|
|
@JsonDeserialize(as = ConsistsOfTypeImpl.class)
|
|
@TypeMetadata(name = ConsistsOfType.NAME, description = "This class provides information for any ConsistsOfType", version = TypeVersion.MINIMAL_VERSION_STRING)
|
|
@Change(version = TypeVersion.MINIMAL_VERSION_STRING, description = TypeVersion.MINIMAL_VERSION_DESCRIPTION)
|
|
public interface ConsistsOfType extends RelationType<ResourceType, FacetType> {
|
|
|
|
public static final String NAME = "ConsistsOfType"; // ConsistsOfType.class.getSimpleName();
|
|
|
|
@Override
|
|
public default AccessType getAccessType() {
|
|
return AccessType.CONSISTS_OF;
|
|
}
|
|
|
|
}
|