2020-01-23 17:14:44 +01:00
package org.gcube.informationsystem.types.reference.relations ;
2020-07-07 17:04:25 +02:00
import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize ;
2021-02-11 17:24:22 +01:00
import org.gcube.informationsystem.base.reference.AccessType ;
2020-01-30 10:26:43 +01:00
import org.gcube.informationsystem.types.impl.relations.ConsistsOfTypeImpl ;
2020-12-15 17:38:06 +01:00
import org.gcube.informationsystem.types.reference.Change ;
import org.gcube.informationsystem.types.reference.TypeMetadata ;
2020-01-30 10:26:43 +01:00
import org.gcube.informationsystem.types.reference.entities.FacetType ;
import org.gcube.informationsystem.types.reference.entities.ResourceType ;
2020-12-15 17:38:06 +01:00
import org.gcube.informationsystem.utils.TypeVersion ;
2020-01-23 17:14:44 +01:00
/ * *
* @author Luca Frosini ( ISTI - CNR )
* /
2020-01-30 10:26:43 +01:00
@JsonDeserialize ( as = ConsistsOfTypeImpl . class )
2020-12-15 17:38:06 +01:00
@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 )
2020-01-30 10:26:43 +01:00
public interface ConsistsOfType extends RelationType < ResourceType , FacetType > {
2020-01-23 17:14:44 +01:00
2020-01-30 10:26:43 +01:00
public static final String NAME = " ConsistsOfType " ; // ConsistsOfType.class.getSimpleName();
2020-01-23 17:14:44 +01:00
2021-02-11 17:24:22 +01:00
@Override
public default AccessType getAccessType ( ) {
return AccessType . CONSISTS_OF ;
}
2020-01-23 17:14:44 +01:00
}