Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 
 /* First created by JCasGen Thu Jan 08 21:27:42 CET 2015 */
 package it.uniroma2.art.coda.test.ae.type;
 
Updated by JCasGen Thu Jan 08 21:27:42 CET 2015 XML source: D:/java_workspace/CODA/coda-tests/src/main/resources/it/uniroma2/art/coda/test/type/typeSystemDescriptorPlant.xml

Generated:
public class Plant extends SingleWord {
  

Generated:
Ordered:
  @SuppressWarnings ("hiding")
  public final static int typeIndexID = JCasRegistry.register(Plant.class);
  

Generated:
Ordered:
  @SuppressWarnings ("hiding")
  public final static int type = ;
  

Generated:
  public              int getTypeIndexID() {return ;}
 
  
Never called. Disable default constructor

Generated:
  protected Plant() {/* intentionally empty block */}
    
  
Internal - constructor used by generator

Generated:
  public Plant(int addrTOP_Type type) {
    super(addrtype);
    readObject();
  }
  
  

Generated:
  public Plant(JCas jcas) {
    super(jcas);
    readObject();   
  } 

  

Generated:
  
  public Plant(JCas jcasint beginint end) {
    super(jcas);
    setBegin(begin);
    setEnd(end);
    readObject();
  }   

  
Write your own initialization here

Generated:
modifiable
  private void readObject() {/*default - does nothing empty block */}
     
 
    
  //*--------------*
  //* Feature: name

  
getter for name - gets

Generated:
  public String getName() {
    if (. && ((Plant_Type)). == null)
      ..throwFeatMissing("name""it.uniroma2.art.coda.test.ae.type.Plant");
setter for name - sets

Generated:
  public void setName(String v) {
    if (. && ((Plant_Type)). == null)
      ..throwFeatMissing("name""it.uniroma2.art.coda.test.ae.type.Plant");
  }

    
New to GrepCode? Check out our FAQ X