001package org.biopax.paxtools.impl.level3;
002
003import org.biopax.paxtools.model.level3.ProteinReference;
004import org.hibernate.annotations.Cache;
005import org.hibernate.annotations.CacheConcurrencyStrategy;
006import org.hibernate.annotations.Proxy;
007import org.hibernate.annotations.DynamicInsert;
008import org.hibernate.annotations.DynamicUpdate; 
009import org.hibernate.search.annotations.Indexed;
010
011import javax.persistence.Entity;
012import javax.persistence.Transient;
013
014@Entity
015@Proxy(proxyClass= ProteinReference.class)
016@Indexed
017@DynamicUpdate @DynamicInsert
018@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
019public class ProteinReferenceImpl extends SequenceEntityReferenceImpl
020        implements ProteinReference
021{
022        public ProteinReferenceImpl() {
023        }
024        
025    @Transient
026    public Class<? extends ProteinReference> getModelInterface()
027    {
028        return ProteinReference.class;
029    }
030}