package org.gmod.schema.feature; import org.gmod.schema.cfg.FeatureType; import org.gmod.schema.mapped.CvTerm; import org.gmod.schema.mapped.Organism; import java.sql.Timestamp; import javax.persistence.Entity; /** * A SECIS element. * * @author rh11 */ @Entity @FeatureType(cv="sequence", term="SECIS_element") public class SECISElement extends TranscriptRegion { SECISElement() { // empty } SECISElement(Organism organism, CvTerm cvTerm, String uniqueName, boolean analysis, boolean obsolete, Timestamp timeAccessioned, Timestamp timeLastModified) { super(organism, cvTerm, uniqueName, analysis, obsolete, timeAccessioned, timeLastModified); } SECISElement(Organism organism, String uniqueName, boolean analysis, boolean obsolete, Timestamp dateAccessioned) { super(organism, uniqueName, analysis, obsolete, dateAccessioned); } /* * This constructor is invoked reflectively by Transcript.createRegion. * All TranscriptRegions should have one. */ public SECISElement(Organism organism, String uniqueName) { this(organism, uniqueName, false, false, new Timestamp(System.currentTimeMillis())); } }