2019-10-23 18:19:55 +02:00
|
|
|
package org.gcube.informationsystem.types.reference;
|
|
|
|
|
|
|
|
import java.util.Set;
|
|
|
|
|
2019-10-24 11:26:49 +02:00
|
|
|
import org.gcube.informationsystem.base.reference.ISManageable;
|
2019-10-24 15:03:14 +02:00
|
|
|
import org.gcube.informationsystem.types.annotations.Abstract;
|
2019-10-23 18:19:55 +02:00
|
|
|
import org.gcube.informationsystem.types.reference.properties.PropertyDefinition;
|
|
|
|
|
2019-10-24 15:03:14 +02:00
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
|
|
|
|
|
|
@Abstract
|
|
|
|
@JsonIgnoreProperties(ignoreUnknown=true)
|
|
|
|
//@JsonDeserialize(as=TypeDefinitionImpl.class) Do not uncomment to manage subclasses
|
2019-10-24 19:50:43 +02:00
|
|
|
public interface TypeDefinition<ISM extends ISManageable> extends ISManageable {
|
2019-10-23 18:19:55 +02:00
|
|
|
|
2019-10-24 15:03:14 +02:00
|
|
|
public static final String NAME = "TypeDefinition"; //Entity.class.getSimpleName();
|
|
|
|
|
2019-10-23 18:19:55 +02:00
|
|
|
public String getName();
|
|
|
|
|
|
|
|
public String getDescription();
|
|
|
|
|
|
|
|
public boolean isAbstract();
|
|
|
|
|
|
|
|
public Set<String> getSuperClasses();
|
|
|
|
|
|
|
|
public Set<PropertyDefinition> getProperties();
|
|
|
|
|
|
|
|
}
|