package it.inaf.oats.ia2.tapschemamanager.api.contract; /** * A {@link TapSchemaEntity} that can be a child of an * {@link EntitiesContainer}. * * @author Sonia Zorba {@literal } */ public interface ChildEntity extends TapSchemaEntity { /** * Each child has a name that is univocal for a given parent, in this way * the parent can search a child by name. */ String getName(); /** * The {@link EntitiesContainer} that owns the {@link ChildEntity}. */ T getParent(); /** * The persistence status of the {@link ChildEntity}. */ Status getStatus(); void setStatus(Status status); }