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

The following examples show how to use org.apache.uima.cas.impl.FeatureImpl. These examples are extracted from open source projects. 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 Project: ambiverse-nlu   Author: ambiverse-nlu   File: AidaDisambiguationSettings_Type.java    License: 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 #2
Source Project: ambiverse-nlu   Author: ambiverse-nlu   File: AidaDocumentSettings_Type.java    License: 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 #3
Source Project: ambiverse-nlu   Author: ambiverse-nlu   File: Concept_Type.java    License: 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 #4
Source Project: bluima   Author: BlueBrain   File: WordForm_Type.java    License: 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 #5
Source Project: bluima   Author: BlueBrain   File: BioVerb_Type.java    License: 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 #6
Source Project: newsleak   Author: uhh-lt   File: Token_Type.java    License: 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 #7
Source Project: bluima   Author: BlueBrain   File: Abbreviation_Type.java    License: 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 #8
Source Project: bluima   Author: BlueBrain   File: MeshHeading_Type.java    License: 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 #9
Source Project: newsleak   Author: uhh-lt   File: Parse_Type.java    License: 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 #10
Source Project: bluima   Author: BlueBrain   File: RelationMention_Type.java    License: 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 #11
Source Project: bluima   Author: BlueBrain   File: CellTypeProteinConcentration_Type.java    License: 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 #12
Source Project: bluima   Author: BlueBrain   File: Constituent_Type.java    License: 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 #13
Source Project: bluima   Author: BlueBrain   File: NounFeats_Type.java    License: 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 #14
Source Project: bluima   Author: BlueBrain   File: DocumentLine_Type.java    License: 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 #15
Source Project: bluima   Author: BlueBrain   File: Entity_Type.java    License: 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 #16
Source Project: bluima   Author: BlueBrain   File: ResourceEntry_Type.java    License: 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 Project: bluima   Author: BlueBrain   File: TextObject_Type.java    License: 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 Project: bluima   Author: BlueBrain   File: TopicDistribution_Type.java    License: 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 TopicDistribution_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

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

}
 
Example #19
Source Project: bluima   Author: BlueBrain   File: Event_Type.java    License: 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_event_type = jcas.getRequiredFeatureDE(casType, "event_type", "uima.cas.String", featOkTst);
  casFeatCode_event_type  = (null == casFeat_event_type) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_event_type).getCode();

 
  casFeat_themes_protein = jcas.getRequiredFeatureDE(casType, "themes_protein", "uima.cas.FSArray", featOkTst);
  casFeatCode_themes_protein  = (null == casFeat_themes_protein) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_themes_protein).getCode();

 
  casFeat_causes_protein = jcas.getRequiredFeatureDE(casType, "causes_protein", "uima.cas.FSArray", featOkTst);
  casFeatCode_causes_protein  = (null == casFeat_causes_protein) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_causes_protein).getCode();

 
  casFeat_site = jcas.getRequiredFeatureDE(casType, "site", "uima.cas.String", featOkTst);
  casFeatCode_site  = (null == casFeat_site) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_site).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_themes_event = jcas.getRequiredFeatureDE(casType, "themes_event", "uima.cas.FSArray", featOkTst);
  casFeatCode_themes_event  = (null == casFeat_themes_event) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_themes_event).getCode();

 
  casFeat_causes_event = jcas.getRequiredFeatureDE(casType, "causes_event", "uima.cas.FSArray", featOkTst);
  casFeatCode_causes_event  = (null == casFeat_causes_event) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_causes_event).getCode();

}
 
Example #20
Source Project: bluima   Author: BlueBrain   File: Layer_Type.java    License: 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 Layer_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 #21
Source Project: bluima   Author: BlueBrain   File: EventMention_Type.java    License: 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 EventMention_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  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();

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

 
  casFeat_tense = jcas.getRequiredFeatureDE(casType, "tense", "uima.cas.String", featOkTst);
  casFeatCode_tense  = (null == casFeat_tense) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_tense).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_trigger = jcas.getRequiredFeatureDE(casType, "trigger", "de.julielab.jules.types.EventTrigger", featOkTst);
  casFeatCode_trigger  = (null == casFeat_trigger) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_trigger).getCode();

}
 
Example #22
Source Project: bluima   Author: BlueBrain   File: Clause_Type.java    License: 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 Clause_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_rule = jcas.getRequiredFeatureDE(casType, "rule", "uima.cas.String", featOkTst);
  casFeatCode_rule  = (null == casFeat_rule) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_rule).getCode();

 
  casFeat_subclauses = jcas.getRequiredFeatureDE(casType, "subclauses", "uima.cas.FSArray", featOkTst);
  casFeatCode_subclauses  = (null == casFeat_subclauses) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_subclauses).getCode();

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


  casFeat_label = jcas.getRequiredFeatureDE(casType, "label", "uima.cas.Double", featOkTst);
  casFeatCode_label  = (null == casFeat_label) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_label).getCode();


  casFeat_salience = jcas.getRequiredFeatureDE(casType, "salience", "uima.cas.Double", featOkTst);
  casFeatCode_salience  = (null == casFeat_salience) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_salience).getCode();

}
 
Example #24
Source Project: bluima   Author: BlueBrain   File: PubType_Type.java    License: 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 PubType_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_pubDate = jcas.getRequiredFeatureDE(casType, "pubDate", "de.julielab.jules.types.Date", featOkTst);
  casFeatCode_pubDate  = (null == casFeat_pubDate) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_pubDate).getCode();

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

 
  casFeat_conceptCandidate = jcas.getRequiredFeatureDE(casType, "conceptCandidate", "uima.cas.String", featOkTst);
  casFeatCode_conceptCandidate  = (null == casFeat_conceptCandidate) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_conceptCandidate).getCode();

 
  casFeat_mention = jcas.getRequiredFeatureDE(casType, "mention", "uima.cas.String", featOkTst);
  casFeatCode_mention  = (null == casFeat_mention) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_mention).getCode();

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

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

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

 
  casFeat_domainWord = jcas.getRequiredFeatureDE(casType, "domainWord", "uima.cas.String", featOkTst);
  casFeatCode_domainWord  = (null == casFeat_domainWord) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_domainWord).getCode();

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

 
  casFeat_classType = jcas.getRequiredFeatureDE(casType, "classType", "uima.cas.String", featOkTst);
  casFeatCode_classType  = (null == casFeat_classType) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_classType).getCode();

 
  casFeat_bmeowTag = jcas.getRequiredFeatureDE(casType, "bmeowTag", "uima.cas.String", featOkTst);
  casFeatCode_bmeowTag  = (null == casFeat_bmeowTag) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_bmeowTag).getCode();

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

 
  casFeat_positionInEntity = jcas.getRequiredFeatureDE(casType, "positionInEntity", "uima.cas.String", featOkTst);
  casFeatCode_positionInEntity  = (null == casFeat_positionInEntity) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_positionInEntity).getCode();

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

 
  casFeat_internalId = jcas.getRequiredFeatureDE(casType, "internalId", "uima.cas.Integer", featOkTst);
  casFeatCode_internalId  = (null == casFeat_internalId) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_internalId).getCode();

 
  casFeat_kbIdentifiedId = jcas.getRequiredFeatureDE(casType, "kbIdentifiedId", "uima.cas.String", featOkTst);
  casFeatCode_kbIdentifiedId  = (null == casFeat_kbIdentifiedId) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_kbIdentifiedId).getCode();

}