001
002
003/* First created by JCasGen Wed May 07 09:15:21 EDT 2014 */
004package org.cleartk.timeml.type;
005
006import org.apache.uima.jcas.JCas; 
007import org.apache.uima.jcas.JCasRegistry;
008import org.apache.uima.jcas.cas.TOP_Type;
009
010
011
012/** 
013 * Updated by JCasGen Wed May 07 09:15:21 EDT 2014
014 * XML source: /Users/bethard/Code/cleartk/target/checkout/cleartk-type-system/target/jcasgen/typesystem.xml
015 * @generated */
016public class DocumentCreationTime extends Time {
017  /** @generated
018   * @ordered 
019   */
020  @SuppressWarnings ("hiding")
021  public final static int typeIndexID = JCasRegistry.register(DocumentCreationTime.class);
022  /** @generated
023   * @ordered 
024   */
025  @SuppressWarnings ("hiding")
026  public final static int type = typeIndexID;
027  /** @generated
028   * @return index of the type  
029   */
030  @Override
031  public              int getTypeIndexID() {return typeIndexID;}
032 
033  /** Never called.  Disable default constructor
034   * @generated */
035  protected DocumentCreationTime() {/* intentionally empty block */}
036    
037  /** Internal - constructor used by generator 
038   * @generated
039   * @param addr low level Feature Structure reference
040   * @param type the type of this Feature Structure 
041   */
042  public DocumentCreationTime(int addr, TOP_Type type) {
043    super(addr, type);
044    readObject();
045  }
046  
047  /** @generated
048   * @param jcas JCas to which this Feature Structure belongs 
049   */
050  public DocumentCreationTime(JCas jcas) {
051    super(jcas);
052    readObject();   
053  } 
054
055  /** @generated
056   * @param jcas JCas to which this Feature Structure belongs
057   * @param begin offset to the begin spot in the SofA
058   * @param end offset to the end spot in the SofA 
059  */  
060  public DocumentCreationTime(JCas jcas, int begin, int end) {
061    super(jcas);
062    setBegin(begin);
063    setEnd(end);
064    readObject();
065  }   
066
067  /** 
068   * <!-- begin-user-doc -->
069   * Write your own initialization here
070   * <!-- end-user-doc -->
071   *
072   * @generated modifiable 
073   */
074  private void readObject() {/*default - does nothing empty block */}
075     
076}
077
078