

   
/* Apache UIMA v3 - First created by JCasGen Thu Oct 02 14:52:05 CEST 2025 */

package uima.ruta.example;
 

import java.lang.invoke.CallSite;
import java.lang.invoke.MethodHandle;

import org.apache.uima.cas.impl.CASImpl;
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.impl.TypeSystemImpl;
import org.apache.uima.jcas.JCas; 
import org.apache.uima.jcas.JCasRegistry;


import org.apache.uima.jcas.tcas.Annotation;


/** 
 * Updated by JCasGen Thu Oct 02 14:52:05 CEST 2025
 * XML source: /Users/bluefire/uima-staging/uima-ruta/target/checkout/example-projects/ruta-maven-example/target/jcasgen/typesystem.xml
 * @generated */
public class Bibtex extends Annotation {
 
  /** @generated
   * @ordered 
   */
  @SuppressWarnings ("hiding")
  public final static String _TypeName = "uima.ruta.example.Bibtex";
  
  /** @generated
   * @ordered 
   */
  @SuppressWarnings ("hiding")
  public final static int typeIndexID = JCasRegistry.register(Bibtex.class);
  /** @generated
   * @ordered 
   */
  @SuppressWarnings ("hiding")
  public final static int type = typeIndexID;
  /** @generated
   * @return index of the type  
   */
  @Override
  public              int getTypeIndexID() {return typeIndexID;}
 
 
  /* *******************
   *   Feature Offsets *
   * *******************/ 
   
  public final static String _FeatName_author = "author";
  public final static String _FeatName_title = "title";
  public final static String _FeatName_year = "year";


  /* Feature Adjusted Offsets */
  private final static CallSite _FC_author = TypeSystemImpl.createCallSite(Bibtex.class, "author");
  private final static MethodHandle _FH_author = _FC_author.dynamicInvoker();
  private final static CallSite _FC_title = TypeSystemImpl.createCallSite(Bibtex.class, "title");
  private final static MethodHandle _FH_title = _FC_title.dynamicInvoker();
  private final static CallSite _FC_year = TypeSystemImpl.createCallSite(Bibtex.class, "year");
  private final static MethodHandle _FH_year = _FC_year.dynamicInvoker();

   
  /** Never called.  Disable default constructor
   * @generated */
  @Deprecated
  @SuppressWarnings ("deprecation")
  protected Bibtex() {/* intentionally empty block */}
    
  /** Internal - constructor used by generator 
   * @generated
   * @param casImpl the CAS this Feature Structure belongs to
   * @param type the type of this Feature Structure 
   */
  public Bibtex(TypeImpl type, CASImpl casImpl) {
    super(type, casImpl);
    readObject();
  }
  
  /** @generated
   * @param jcas JCas to which this Feature Structure belongs 
   */
  public Bibtex(JCas jcas) {
    super(jcas);
    readObject();   
  } 


  /** @generated
   * @param jcas JCas to which this Feature Structure belongs
   * @param begin offset to the begin spot in the SofA
   * @param end offset to the end spot in the SofA 
  */  
  public Bibtex(JCas jcas, int begin, int end) {
    super(jcas);
    setBegin(begin);
    setEnd(end);
    readObject();
  }   

  /** 
   * <!-- begin-user-doc -->
   * Write your own initialization here
   * <!-- end-user-doc -->
   *
   * @generated modifiable 
   */
  private void readObject() {/*default - does nothing empty block */}
     
 
    
  //*--------------*
  //* Feature: author

  /** getter for author - gets 
   * @generated
   * @return value of the feature 
   */
  public Author getAuthor() { 
    return (Author)(_getFeatureValueNc(wrapGetIntCatchException(_FH_author)));
  }
    
  /** setter for author - sets  
   * @generated
   * @param v value to set into the feature 
   */
  public void setAuthor(Author v) {
    _setFeatureValueNcWj(wrapGetIntCatchException(_FH_author), v);
  }    
    
   
    
  //*--------------*
  //* Feature: title

  /** getter for title - gets 
   * @generated
   * @return value of the feature 
   */
  public Title getTitle() { 
    return (Title)(_getFeatureValueNc(wrapGetIntCatchException(_FH_title)));
  }
    
  /** setter for title - sets  
   * @generated
   * @param v value to set into the feature 
   */
  public void setTitle(Title v) {
    _setFeatureValueNcWj(wrapGetIntCatchException(_FH_title), v);
  }    
    
   
    
  //*--------------*
  //* Feature: year

  /** getter for year - gets 
   * @generated
   * @return value of the feature 
   */
  public Year getYear() { 
    return (Year)(_getFeatureValueNc(wrapGetIntCatchException(_FH_year)));
  }
    
  /** setter for year - sets  
   * @generated
   * @param v value to set into the feature 
   */
  public void setYear(Year v) {
    _setFeatureValueNcWj(wrapGetIntCatchException(_FH_year), v);
  }    
    
  }

    