org.apache.uima.cas.impl.FeatureImpl Java Examples

The following examples show how to use org.apache.uima.cas.impl.FeatureImpl. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AidaDocumentSettings_Type.java    From ambiverse-nlu with Apache License 2.0 5 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
 *
 * @param jcas JCas
 * @param casType Type
 */
public AidaDocumentSettings_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());

  casFeat_language = jcas.getRequiredFeatureDE(casType, "language", "uima.cas.String", featOkTst);
  casFeatCode_language = (null == casFeat_language) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl) casFeat_language).getCode();

  casFeat_docChunkStrategy = jcas.getRequiredFeatureDE(casType, "docChunkStrategy", "uima.cas.String", featOkTst);
  casFeatCode_docChunkStrategy = (null == casFeat_docChunkStrategy) ?
      JCas.INVALID_FEATURE_CODE :
      ((FeatureImpl) casFeat_docChunkStrategy).getCode();

  casFeat_documentInputFormat = jcas.getRequiredFeatureDE(casType, "documentInputFormat", "uima.cas.String", featOkTst);
  casFeatCode_documentInputFormat = (null == casFeat_documentInputFormat) ?
      JCas.INVALID_FEATURE_CODE :
      ((FeatureImpl) casFeat_documentInputFormat).getCode();

  casFeat_encoding = jcas.getRequiredFeatureDE(casType, "encoding", "uima.cas.String", featOkTst);
  casFeatCode_encoding = (null == casFeat_encoding) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl) casFeat_encoding).getCode();

  casFeat_documentId = jcas.getRequiredFeatureDE(casType, "documentId", "uima.cas.String", featOkTst);
  casFeatCode_documentId = (null == casFeat_documentId) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl) casFeat_documentId).getCode();

  casFeat_disambiguationSettings = jcas
      .getRequiredFeatureDE(casType, "disambiguationSettings", "de.mpg.mpi_inf.ambiversenlu.nlu.entitylinking.uima.type.AidaDisambiguationSettings", featOkTst);
  casFeatCode_disambiguationSettings = (null == casFeat_disambiguationSettings) ?
      JCas.INVALID_FEATURE_CODE :
      ((FeatureImpl) casFeat_disambiguationSettings).getCode();

}
 
Example #2
Source File: AidaDisambiguationSettings_Type.java    From ambiverse-nlu with Apache License 2.0 5 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
 *
 * @param jcas JCas
 * @param casType Type
 */
public AidaDisambiguationSettings_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());

  casFeat_disambiguationSettingsBytes = jcas.getRequiredFeatureDE(casType, "disambiguationSettingsBytes", "uima.cas.ByteArray", featOkTst);
  casFeatCode_disambiguationSettingsBytes = (null == casFeat_disambiguationSettingsBytes) ?
      JCas.INVALID_FEATURE_CODE :
      ((FeatureImpl) casFeat_disambiguationSettingsBytes).getCode();

}
 
Example #3
Source File: Abbreviation_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public Abbreviation_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_expan = jcas.getRequiredFeatureDE(casType, "expan", "uima.cas.String", featOkTst);
  casFeatCode_expan  = (null == casFeat_expan) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_expan).getCode();

 
  casFeat_textReference = jcas.getRequiredFeatureDE(casType, "textReference", "de.julielab.jules.types.Annotation", featOkTst);
  casFeatCode_textReference  = (null == casFeat_textReference) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_textReference).getCode();

 
  casFeat_definedHere = jcas.getRequiredFeatureDE(casType, "definedHere", "uima.cas.Boolean", featOkTst);
  casFeatCode_definedHere  = (null == casFeat_definedHere) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_definedHere).getCode();

}
 
Example #4
Source File: Parse_Type.java    From newsleak with GNU Affero General Public License v3.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public Parse_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_parseType = jcas.getRequiredFeatureDE(casType, "parseType", "uima.cas.String", featOkTst);
  casFeatCode_parseType  = (null == casFeat_parseType) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_parseType).getCode();

 
  casFeat_children = jcas.getRequiredFeatureDE(casType, "children", "uima.cas.FSArray", featOkTst);
  casFeatCode_children  = (null == casFeat_children) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_children).getCode();

 
  casFeat_prob = jcas.getRequiredFeatureDE(casType, "prob", "uima.cas.Double", featOkTst);
  casFeatCode_prob  = (null == casFeat_prob) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_prob).getCode();

}
 
Example #5
Source File: NounFeats_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public NounFeats_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_gender = jcas.getRequiredFeatureDE(casType, "gender", "de.julielab.jules.types.Gender", featOkTst);
  casFeatCode_gender  = (null == casFeat_gender) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_gender).getCode();

 
  casFeat_case = jcas.getRequiredFeatureDE(casType, "case", "de.julielab.jules.types.Case", featOkTst);
  casFeatCode_case  = (null == casFeat_case) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_case).getCode();

 
  casFeat_number = jcas.getRequiredFeatureDE(casType, "number", "de.julielab.jules.types.Number", featOkTst);
  casFeatCode_number  = (null == casFeat_number) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_number).getCode();

}
 
Example #6
Source File: DocumentLine_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public DocumentLine_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_block = jcas.getRequiredFeatureDE(casType, "block", "uima.cas.Integer", featOkTst);
  casFeatCode_block  = (null == casFeat_block) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_block).getCode();

 
  casFeat_lineText = jcas.getRequiredFeatureDE(casType, "lineText", "uima.cas.String", featOkTst);
  casFeatCode_lineText  = (null == casFeat_lineText) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_lineText).getCode();

 
  casFeat_beginnings = jcas.getRequiredFeatureDE(casType, "beginnings", "uima.cas.FloatArray", featOkTst);
  casFeatCode_beginnings  = (null == casFeat_beginnings) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_beginnings).getCode();

 
  casFeat_endings = jcas.getRequiredFeatureDE(casType, "endings", "uima.cas.FloatArray", featOkTst);
  casFeatCode_endings  = (null == casFeat_endings) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_endings).getCode();

}
 
Example #7
Source File: MeshHeading_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public MeshHeading_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_descriptorName = jcas.getRequiredFeatureDE(casType, "descriptorName", "uima.cas.String", featOkTst);
  casFeatCode_descriptorName  = (null == casFeat_descriptorName) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_descriptorName).getCode();

 
  casFeat_qualifierName = jcas.getRequiredFeatureDE(casType, "qualifierName", "uima.cas.String", featOkTst);
  casFeatCode_qualifierName  = (null == casFeat_qualifierName) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_qualifierName).getCode();

 
  casFeat_descriptorNameMajorTopic = jcas.getRequiredFeatureDE(casType, "descriptorNameMajorTopic", "uima.cas.Boolean", featOkTst);
  casFeatCode_descriptorNameMajorTopic  = (null == casFeat_descriptorNameMajorTopic) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_descriptorNameMajorTopic).getCode();

 
  casFeat_qualifierNameMajorTopic = jcas.getRequiredFeatureDE(casType, "qualifierNameMajorTopic", "uima.cas.Boolean", featOkTst);
  casFeatCode_qualifierNameMajorTopic  = (null == casFeat_qualifierNameMajorTopic) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_qualifierNameMajorTopic).getCode();

}
 
Example #8
Source File: Token_Type.java    From newsleak with GNU Affero General Public License v3.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public Token_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_filename = jcas.getRequiredFeatureDE(casType, "filename", "uima.cas.String", featOkTst);
  casFeatCode_filename  = (null == casFeat_filename) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_filename).getCode();

 
  casFeat_tokenId = jcas.getRequiredFeatureDE(casType, "tokenId", "uima.cas.Integer", featOkTst);
  casFeatCode_tokenId  = (null == casFeat_tokenId) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_tokenId).getCode();

 
  casFeat_sentId = jcas.getRequiredFeatureDE(casType, "sentId", "uima.cas.Integer", featOkTst);
  casFeatCode_sentId  = (null == casFeat_sentId) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_sentId).getCode();

 
  casFeat_pos = jcas.getRequiredFeatureDE(casType, "pos", "uima.cas.String", featOkTst);
  casFeatCode_pos  = (null == casFeat_pos) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_pos).getCode();

}
 
Example #9
Source File: BioVerb_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public BioVerb_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_ref_id = jcas.getRequiredFeatureDE(casType, "ref_id", "uima.cas.String", featOkTst);
  casFeatCode_ref_id  = (null == casFeat_ref_id) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ref_id).getCode();

 
  casFeat_canonical = jcas.getRequiredFeatureDE(casType, "canonical", "uima.cas.String", featOkTst);
  casFeatCode_canonical  = (null == casFeat_canonical) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_canonical).getCode();

 
  casFeat_enclosingSpan = jcas.getRequiredFeatureDE(casType, "enclosingSpan", "uima.tcas.Annotation", featOkTst);
  casFeatCode_enclosingSpan  = (null == casFeat_enclosingSpan) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_enclosingSpan).getCode();

 
  casFeat_matchedText = jcas.getRequiredFeatureDE(casType, "matchedText", "uima.cas.String", featOkTst);
  casFeatCode_matchedText  = (null == casFeat_matchedText) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_matchedText).getCode();

 
  casFeat_matchedTokens = jcas.getRequiredFeatureDE(casType, "matchedTokens", "uima.cas.FSArray", featOkTst);
  casFeatCode_matchedTokens  = (null == casFeat_matchedTokens) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_matchedTokens).getCode();

}
 
Example #10
Source File: Constituent_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public Constituent_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_parent = jcas.getRequiredFeatureDE(casType, "parent", "de.julielab.jules.types.Constituent", featOkTst);
  casFeatCode_parent  = (null == casFeat_parent) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_parent).getCode();

 
  casFeat_head = jcas.getRequiredFeatureDE(casType, "head", "de.julielab.jules.types.Token", featOkTst);
  casFeatCode_head  = (null == casFeat_head) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_head).getCode();

 
  casFeat_cat = jcas.getRequiredFeatureDE(casType, "cat", "uima.cas.String", featOkTst);
  casFeatCode_cat  = (null == casFeat_cat) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cat).getCode();

}
 
Example #11
Source File: Entity_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public Entity_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_ace_type = jcas.getRequiredFeatureDE(casType, "ace_type", "uima.cas.String", featOkTst);
  casFeatCode_ace_type  = (null == casFeat_ace_type) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ace_type).getCode();

 
  casFeat_ace_subtype = jcas.getRequiredFeatureDE(casType, "ace_subtype", "uima.cas.String", featOkTst);
  casFeatCode_ace_subtype  = (null == casFeat_ace_subtype) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ace_subtype).getCode();

 
  casFeat_ace_class = jcas.getRequiredFeatureDE(casType, "ace_class", "uima.cas.String", featOkTst);
  casFeatCode_ace_class  = (null == casFeat_ace_class) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ace_class).getCode();

 
  casFeat_entity_mentions = jcas.getRequiredFeatureDE(casType, "entity_mentions", "uima.cas.FSArray", featOkTst);
  casFeatCode_entity_mentions  = (null == casFeat_entity_mentions) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_entity_mentions).getCode();

 
  casFeat_entity_attributes = jcas.getRequiredFeatureDE(casType, "entity_attributes", "uima.cas.FSArray", featOkTst);
  casFeatCode_entity_attributes  = (null == casFeat_entity_attributes) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_entity_attributes).getCode();

}
 
Example #12
Source File: WordForm_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public WordForm_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_lemma = jcas.getRequiredFeatureDE(casType, "lemma", "uima.cas.String", featOkTst);
  casFeatCode_lemma  = (null == casFeat_lemma) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_lemma).getCode();

 
  casFeat_POS = jcas.getRequiredFeatureDE(casType, "POS", "uima.cas.String", featOkTst);
  casFeatCode_POS  = (null == casFeat_POS) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_POS).getCode();

 
  casFeat_probability = jcas.getRequiredFeatureDE(casType, "probability", "uima.cas.Double", featOkTst);
  casFeatCode_probability  = (null == casFeat_probability) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_probability).getCode();

 
  casFeat_suffix = jcas.getRequiredFeatureDE(casType, "suffix", "uima.cas.String", featOkTst);
  casFeatCode_suffix  = (null == casFeat_suffix) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_suffix).getCode();

}
 
Example #13
Source File: RelationMention_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public RelationMention_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_tense = jcas.getRequiredFeatureDE(casType, "tense", "uima.cas.String", featOkTst);
  casFeatCode_tense  = (null == casFeat_tense) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_tense).getCode();

 
  casFeat_modality = jcas.getRequiredFeatureDE(casType, "modality", "uima.cas.String", featOkTst);
  casFeatCode_modality  = (null == casFeat_modality) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_modality).getCode();

 
  casFeat_arguments = jcas.getRequiredFeatureDE(casType, "arguments", "uima.cas.FSArray", featOkTst);
  casFeatCode_arguments  = (null == casFeat_arguments) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_arguments).getCode();

 
  casFeat_polarity = jcas.getRequiredFeatureDE(casType, "polarity", "uima.cas.String", featOkTst);
  casFeatCode_polarity  = (null == casFeat_polarity) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_polarity).getCode();

}
 
Example #14
Source File: Concept_Type.java    From ambiverse-nlu with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
*
* @param jcas JCas
* @param casType Type 
*/
public Concept_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_score = jcas.getRequiredFeatureDE(casType, "score", "uima.cas.Double", featOkTst);
  casFeatCode_score  = (null == casFeat_score) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_score).getCode();

 
  casFeat_ID = jcas.getRequiredFeatureDE(casType, "ID", "uima.cas.String", featOkTst);
  casFeatCode_ID  = (null == casFeat_ID) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ID).getCode();

 
  casFeat_types = jcas.getRequiredFeatureDE(casType, "types", "uima.cas.StringArray", featOkTst);
  casFeatCode_types  = (null == casFeat_types) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_types).getCode();

}
 
Example #15
Source File: CellTypeProteinConcentration_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public CellTypeProteinConcentration_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_protein = jcas.getRequiredFeatureDE(casType, "protein", "ch.epfl.bbp.uima.types.Protein", featOkTst);
  casFeatCode_protein  = (null == casFeat_protein) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_protein).getCode();

 
  casFeat_concentration = jcas.getRequiredFeatureDE(casType, "concentration", "ch.epfl.bbp.uima.types.Concentration", featOkTst);
  casFeatCode_concentration  = (null == casFeat_concentration) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_concentration).getCode();

 
  casFeat_celltype = jcas.getRequiredFeatureDE(casType, "celltype", "ch.epfl.bbp.uima.types.CellType", featOkTst);
  casFeatCode_celltype  = (null == casFeat_celltype) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_celltype).getCode();

}
 
Example #16
Source File: ResourceEntry_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public ResourceEntry_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_source = jcas.getRequiredFeatureDE(casType, "source", "uima.cas.String", featOkTst);
  casFeatCode_source  = (null == casFeat_source) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_source).getCode();

 
  casFeat_entryId = jcas.getRequiredFeatureDE(casType, "entryId", "uima.cas.String", featOkTst);
  casFeatCode_entryId  = (null == casFeat_entryId) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_entryId).getCode();

 
  casFeat_version = jcas.getRequiredFeatureDE(casType, "version", "uima.cas.String", featOkTst);
  casFeatCode_version  = (null == casFeat_version) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_version).getCode();

}
 
Example #17
Source File: TextObject_Type.java    From bluima with Apache License 2.0 4 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public TextObject_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_objectType = jcas.getRequiredFeatureDE(casType, "objectType", "uima.cas.String", featOkTst);
  casFeatCode_objectType  = (null == casFeat_objectType) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_objectType).getCode();

 
  casFeat_objectId = jcas.getRequiredFeatureDE(casType, "objectId", "uima.cas.String", featOkTst);
  casFeatCode_objectId  = (null == casFeat_objectId) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_objectId).getCode();

 
  casFeat_objectLabel = jcas.getRequiredFeatureDE(casType, "objectLabel", "uima.cas.String", featOkTst);
  casFeatCode_objectLabel  = (null == casFeat_objectLabel) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_objectLabel).getCode();

 
  casFeat_objectCaption = jcas.getRequiredFeatureDE(casType, "objectCaption", "de.julielab.jules.types.Caption", featOkTst);
  casFeatCode_objectCaption  = (null == casFeat_objectCaption) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_objectCaption).getCode();

}
 
Example #18
Source File: ArgumentMention_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public ArgumentMention_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_ref = jcas.getRequiredFeatureDE(casType, "ref", "de.julielab.jules.types.Annotation", featOkTst);
  casFeatCode_ref  = (null == casFeat_ref) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ref).getCode();

 
  casFeat_role = jcas.getRequiredFeatureDE(casType, "role", "uima.cas.String", featOkTst);
  casFeatCode_role  = (null == casFeat_role) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_role).getCode();

}
 
Example #19
Source File: Journal_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public Journal_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_ISSN = jcas.getRequiredFeatureDE(casType, "ISSN", "uima.cas.String", featOkTst);
  casFeatCode_ISSN  = (null == casFeat_ISSN) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ISSN).getCode();

 
  casFeat_volume = jcas.getRequiredFeatureDE(casType, "volume", "uima.cas.String", featOkTst);
  casFeatCode_volume  = (null == casFeat_volume) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_volume).getCode();

 
  casFeat_title = jcas.getRequiredFeatureDE(casType, "title", "uima.cas.String", featOkTst);
  casFeatCode_title  = (null == casFeat_title) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_title).getCode();

 
  casFeat_impactFactor = jcas.getRequiredFeatureDE(casType, "impactFactor", "uima.cas.String", featOkTst);
  casFeatCode_impactFactor  = (null == casFeat_impactFactor) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_impactFactor).getCode();

 
  casFeat_shortTitle = jcas.getRequiredFeatureDE(casType, "shortTitle", "uima.cas.String", featOkTst);
  casFeatCode_shortTitle  = (null == casFeat_shortTitle) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_shortTitle).getCode();

 
  casFeat_issue = jcas.getRequiredFeatureDE(casType, "issue", "uima.cas.String", featOkTst);
  casFeatCode_issue  = (null == casFeat_issue) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_issue).getCode();

 
  casFeat_pages = jcas.getRequiredFeatureDE(casType, "pages", "uima.cas.String", featOkTst);
  casFeatCode_pages  = (null == casFeat_pages) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_pages).getCode();

}
 
Example #20
Source File: MultipleProteins_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public MultipleProteins_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_present = jcas.getRequiredFeatureDE(casType, "present", "uima.cas.Integer", featOkTst);
  casFeatCode_present  = (null == casFeat_present) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_present).getCode();

}
 
Example #21
Source File: Event_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public Event_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_tense = jcas.getRequiredFeatureDE(casType, "tense", "uima.cas.String", featOkTst);
  casFeatCode_tense  = (null == casFeat_tense) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_tense).getCode();

 
  casFeat_polarity = jcas.getRequiredFeatureDE(casType, "polarity", "uima.cas.String", featOkTst);
  casFeatCode_polarity  = (null == casFeat_polarity) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_polarity).getCode();

 
  casFeat_ace_subtype = jcas.getRequiredFeatureDE(casType, "ace_subtype", "uima.cas.String", featOkTst);
  casFeatCode_ace_subtype  = (null == casFeat_ace_subtype) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ace_subtype).getCode();

 
  casFeat_genericity = jcas.getRequiredFeatureDE(casType, "genericity", "uima.cas.String", featOkTst);
  casFeatCode_genericity  = (null == casFeat_genericity) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_genericity).getCode();

 
  casFeat_modality = jcas.getRequiredFeatureDE(casType, "modality", "uima.cas.String", featOkTst);
  casFeatCode_modality  = (null == casFeat_modality) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_modality).getCode();

 
  casFeat_ace_type = jcas.getRequiredFeatureDE(casType, "ace_type", "uima.cas.String", featOkTst);
  casFeatCode_ace_type  = (null == casFeat_ace_type) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ace_type).getCode();

 
  casFeat_arguments = jcas.getRequiredFeatureDE(casType, "arguments", "uima.cas.FSArray", featOkTst);
  casFeatCode_arguments  = (null == casFeat_arguments) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_arguments).getCode();

 
  casFeat_mentions = jcas.getRequiredFeatureDE(casType, "mentions", "uima.cas.FSArray", featOkTst);
  casFeatCode_mentions  = (null == casFeat_mentions) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_mentions).getCode();

}
 
Example #22
Source File: AnnotationSegment_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public AnnotationSegment_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_id = jcas.getRequiredFeatureDE(casType, "id", "uima.cas.Integer", featOkTst);
  casFeatCode_id  = (null == casFeat_id) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_id).getCode();

}
 
Example #23
Source File: Species_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public Species_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_name = jcas.getRequiredFeatureDE(casType, "name", "uima.cas.String", featOkTst);
  casFeatCode_name  = (null == casFeat_name) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_name).getCode();

}
 
Example #24
Source File: MMAXAttribute_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public MMAXAttribute_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_name = jcas.getRequiredFeatureDE(casType, "name", "uima.cas.String", featOkTst);
  casFeatCode_name  = (null == casFeat_name) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_name).getCode();

 
  casFeat_value = jcas.getRequiredFeatureDE(casType, "value", "uima.cas.String", featOkTst);
  casFeatCode_value  = (null == casFeat_value) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_value).getCode();

}
 
Example #25
Source File: MMAXPointer_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public MMAXPointer_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_name = jcas.getRequiredFeatureDE(casType, "name", "uima.cas.String", featOkTst);
  casFeatCode_name  = (null == casFeat_name) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_name).getCode();

 
  casFeat_targetList = jcas.getRequiredFeatureDE(casType, "targetList", "uima.cas.FSArray", featOkTst);
  casFeatCode_targetList  = (null == casFeat_targetList) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_targetList).getCode();

}
 
Example #26
Source File: Lemma_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public Lemma_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_value = jcas.getRequiredFeatureDE(casType, "value", "uima.cas.String", featOkTst);
  casFeatCode_value  = (null == casFeat_value) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_value).getCode();

}
 
Example #27
Source File: Coordination_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public Coordination_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_resolved = jcas.getRequiredFeatureDE(casType, "resolved", "uima.cas.String", featOkTst);
  casFeatCode_resolved  = (null == casFeat_resolved) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_resolved).getCode();

 
  casFeat_elliptical = jcas.getRequiredFeatureDE(casType, "elliptical", "uima.cas.Boolean", featOkTst);
  casFeatCode_elliptical  = (null == casFeat_elliptical) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_elliptical).getCode();

}
 
Example #28
Source File: NUMEX_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public NUMEX_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_min = jcas.getRequiredFeatureDE(casType, "min", "uima.cas.String", featOkTst);
  casFeatCode_min  = (null == casFeat_min) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_min).getCode();

 
  casFeat_typeOfNE = jcas.getRequiredFeatureDE(casType, "typeOfNE", "uima.cas.String", featOkTst);
  casFeatCode_typeOfNE  = (null == casFeat_typeOfNE) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_typeOfNE).getCode();

}
 
Example #29
Source File: ListItem_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public ListItem_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_itemList = jcas.getRequiredFeatureDE(casType, "itemList", "uima.cas.FSArray", featOkTst);
  casFeatCode_itemList  = (null == casFeat_itemList) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_itemList).getCode();

 
  casFeat_level = jcas.getRequiredFeatureDE(casType, "level", "uima.cas.Integer", featOkTst);
  casFeatCode_level  = (null == casFeat_level) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_level).getCode();

}
 
Example #30
Source File: Style_Type.java    From bluima with Apache License 2.0 3 votes vote down vote up
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type 
*/
public Style_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_styleName = jcas.getRequiredFeatureDE(casType, "styleName", "de.julielab.jules.types.StyleName", featOkTst);
  casFeatCode_styleName  = (null == casFeat_styleName) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_styleName).getCode();

 
  casFeat_encoding = jcas.getRequiredFeatureDE(casType, "encoding", "de.julielab.jules.types.Encoding", featOkTst);
  casFeatCode_encoding  = (null == casFeat_encoding) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_encoding).getCode();

}