information-system-model/src/test/java/org/gcube/informationsystem/types/EntityTest.java

25 lines
806 B
Java

package org.gcube.informationsystem.types;
import org.gcube.informationsystem.types.annotations.ISProperty;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = "EntityTest", description = "This is a test Entity", version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface EntityTest extends EntityParent {
@ISProperty(nullable=false)
public String getNotnullable();
@ISProperty(mandatory=true)
public String getMandatory();
@ISProperty(name="different", description="desc")
public String getMyname();
}