Java Code Examples for org.apache.uima.jcas.JCas#INVALID_FEATURE_CODE

The following examples show how to use org.apache.uima.jcas.JCas#INVALID_FEATURE_CODE . 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: LinnaeusSpecies_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 LinnaeusSpecies_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_mostProbableSpeciesId = jcas.getRequiredFeatureDE(casType, "mostProbableSpeciesId", "uima.cas.String", featOkTst);
  casFeatCode_mostProbableSpeciesId  = (null == casFeat_mostProbableSpeciesId) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_mostProbableSpeciesId).getCode();

 
  casFeat_allIdsString = jcas.getRequiredFeatureDE(casType, "allIdsString", "uima.cas.String", featOkTst);
  casFeatCode_allIdsString  = (null == casFeat_allIdsString) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_allIdsString).getCode();

 
  casFeat_ambigous = jcas.getRequiredFeatureDE(casType, "ambigous", "uima.cas.Boolean", featOkTst);
  casFeatCode_ambigous  = (null == casFeat_ambigous) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ambigous).getCode();

}
 
Example 2
Source File: Descriptor_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 Descriptor_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_categories = jcas.getRequiredFeatureDE(casType, "categories", "uima.cas.FSArray", featOkTst);
  casFeatCode_categories  = (null == casFeat_categories) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_categories).getCode();

 
  casFeat_incomingLinks = jcas.getRequiredFeatureDE(casType, "incomingLinks", "uima.cas.FSArray", featOkTst);
  casFeatCode_incomingLinks  = (null == casFeat_incomingLinks) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_incomingLinks).getCode();

 
  casFeat_outgoingLinks = jcas.getRequiredFeatureDE(casType, "outgoingLinks", "uima.cas.FSArray", featOkTst);
  casFeatCode_outgoingLinks  = (null == casFeat_outgoingLinks) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_outgoingLinks).getCode();

 
  casFeat_redirects = jcas.getRequiredFeatureDE(casType, "redirects", "uima.cas.StringArray", featOkTst);
  casFeatCode_redirects  = (null == casFeat_redirects) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_redirects).getCode();

}
 
Example 3
Source File: Dependency_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 Dependency_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_deptype = jcas.getRequiredFeatureDE(casType, "deptype", "uima.cas.String", featOkTst);
  casFeatCode_deptype  = (null == casFeat_deptype) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_deptype).getCode();

 
  casFeat_subtype = jcas.getRequiredFeatureDE(casType, "subtype", "uima.cas.String", featOkTst);
  casFeatCode_subtype  = (null == casFeat_subtype) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_subtype).getCode();

 
  casFeat_head = jcas.getRequiredFeatureDE(casType, "head", "com.digitalpebble.rasp.WordForm", featOkTst);
  casFeatCode_head  = (null == casFeat_head) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_head).getCode();

 
  casFeat_dep = jcas.getRequiredFeatureDE(casType, "dep", "com.digitalpebble.rasp.WordForm", featOkTst);
  casFeatCode_dep  = (null == casFeat_dep) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_dep).getCode();

}
 
Example 4
Source File: VerbFeats_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 VerbFeats_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_tense = jcas.getRequiredFeatureDE(casType, "tense", "de.julielab.jules.types.Tense", featOkTst);
  casFeatCode_tense  = (null == casFeat_tense) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_tense).getCode();

 
  casFeat_person = jcas.getRequiredFeatureDE(casType, "person", "de.julielab.jules.types.Person", featOkTst);
  casFeatCode_person  = (null == casFeat_person) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_person).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();

 
  casFeat_voice = jcas.getRequiredFeatureDE(casType, "voice", "de.julielab.jules.types.Voice", featOkTst);
  casFeatCode_voice  = (null == casFeat_voice) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_voice).getCode();

 
  casFeat_aspect = jcas.getRequiredFeatureDE(casType, "aspect", "de.julielab.jules.types.Aspect", featOkTst);
  casFeatCode_aspect  = (null == casFeat_aspect) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_aspect).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: BmeowType_Type.java    From ambiverse-nlu with 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 BmeowType_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_bmeowType = jcas.getRequiredFeatureDE(casType, "bmeowType", "uima.cas.String", featOkTst);
  casFeatCode_bmeowType  = (null == casFeat_bmeowType) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_bmeowType).getCode();

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


   casFeat_dictionary = jcas.getRequiredFeatureDE(casType, "dictionary", "uima.cas.String", featOkTst);
   casFeatCode_dictionary  = (null == casFeat_dictionary) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_dictionary).getCode();

 }
 
Example 8
Source File: NerMention_Type.java    From ambiverse-nlu with 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 9
Source File: GOMention_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 GOMention_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_categories = jcas.getRequiredFeatureDE(casType, "categories", "uima.cas.StringArray", featOkTst);
  casFeatCode_categories  = (null == casFeat_categories) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_categories).getCode();

 
  casFeat_goID = jcas.getRequiredFeatureDE(casType, "goID", "uima.cas.String", featOkTst);
  casFeatCode_goID  = (null == casFeat_goID) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_goID).getCode();

}
 
Example 10
Source File: OntClassMention_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 OntClassMention_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_ontClassId = jcas.getRequiredFeatureDE(casType, "ontClassId", "uima.cas.String", featOkTst);
  casFeatCode_ontClassId  = (null == casFeat_ontClassId) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ontClassId).getCode();

 
  casFeat_sourceOntology = jcas.getRequiredFeatureDE(casType, "sourceOntology", "uima.cas.String", featOkTst);
  casFeatCode_sourceOntology  = (null == casFeat_sourceOntology) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_sourceOntology).getCode();

 
  casFeat_textualRepresentation = jcas.getRequiredFeatureDE(casType, "textualRepresentation", "uima.cas.String", featOkTst);
  casFeatCode_textualRepresentation  = (null == casFeat_textualRepresentation) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_textualRepresentation).getCode();

 
  casFeat_semanticTypes = jcas.getRequiredFeatureDE(casType, "semanticTypes", "uima.cas.StringArray", featOkTst);
  casFeatCode_semanticTypes  = (null == casFeat_semanticTypes) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_semanticTypes).getCode();

 
  casFeat_preferredTerm = jcas.getRequiredFeatureDE(casType, "preferredTerm", "uima.cas.String", featOkTst);
  casFeatCode_preferredTerm  = (null == casFeat_preferredTerm) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_preferredTerm).getCode();

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

 
  casFeat_matchedSourceTerm = jcas.getRequiredFeatureDE(casType, "matchedSourceTerm", "uima.cas.String", featOkTst);
  casFeatCode_matchedSourceTerm  = (null == casFeat_matchedSourceTerm) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_matchedSourceTerm).getCode();

}
 
Example 11
Source File: Keyword_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 Keyword_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_source = jcas.getRequiredFeatureDE(casType, "source", "uima.cas.String", featOkTst);
  casFeatCode_source  = (null == casFeat_source) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_source).getCode();

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

 
  casFeat_uri = jcas.getRequiredFeatureDE(casType, "uri", "uima.cas.String", featOkTst);
  casFeatCode_uri  = (null == casFeat_uri) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_uri).getCode();

 
  casFeat_offsetInSource = jcas.getRequiredFeatureDE(casType, "offsetInSource", "uima.cas.Integer", featOkTst);
  casFeatCode_offsetInSource  = (null == casFeat_offsetInSource) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_offsetInSource).getCode();

}
 
Example 13
Source File: PTBConstituent_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 PTBConstituent_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_formFuncDisc = jcas.getRequiredFeatureDE(casType, "formFuncDisc", "uima.cas.String", featOkTst);
  casFeatCode_formFuncDisc  = (null == casFeat_formFuncDisc) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_formFuncDisc).getCode();

 
  casFeat_gramRole = jcas.getRequiredFeatureDE(casType, "gramRole", "uima.cas.String", featOkTst);
  casFeatCode_gramRole  = (null == casFeat_gramRole) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_gramRole).getCode();

 
  casFeat_adv = jcas.getRequiredFeatureDE(casType, "adv", "uima.cas.String", featOkTst);
  casFeatCode_adv  = (null == casFeat_adv) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_adv).getCode();

 
  casFeat_misc = jcas.getRequiredFeatureDE(casType, "misc", "uima.cas.String", featOkTst);
  casFeatCode_misc  = (null == casFeat_misc) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_misc).getCode();

 
  casFeat_nullElement = jcas.getRequiredFeatureDE(casType, "nullElement", "uima.cas.String", featOkTst);
  casFeatCode_nullElement  = (null == casFeat_nullElement) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_nullElement).getCode();

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

 
  casFeat_map = jcas.getRequiredFeatureDE(casType, "map", "de.julielab.jules.types.Constituent", featOkTst);
  casFeatCode_map  = (null == casFeat_map) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_map).getCode();

 
  casFeat_tpc = jcas.getRequiredFeatureDE(casType, "tpc", "uima.cas.Boolean", featOkTst);
  casFeatCode_tpc  = (null == casFeat_tpc) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_tpc).getCode();

}
 
Example 14
Source File: AdjectiveFeats_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 AdjectiveFeats_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_degree = jcas.getRequiredFeatureDE(casType, "degree", "de.julielab.jules.types.Degree", featOkTst);
  casFeatCode_degree  = (null == casFeat_degree) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_degree).getCode();

}
 
Example 15
Source File: WordShape_Type.java    From ambiverse-nlu with 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 WordShape_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_wordShape = jcas.getRequiredFeatureDE(casType, "wordShape", "uima.cas.String", featOkTst);
  casFeatCode_wordShape  = (null == casFeat_wordShape) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_wordShape).getCode();

}
 
Example 16
Source File: EntityMention_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 EntityMention_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

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

 
  casFeat_mentionLevel = jcas.getRequiredFeatureDE(casType, "mentionLevel", "uima.cas.String", featOkTst);
  casFeatCode_mentionLevel  = (null == casFeat_mentionLevel) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_mentionLevel).getCode();

}
 
Example 17
Source File: MMAXAnnotation_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 MMAXAnnotation_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_annotationLevel = jcas.getRequiredFeatureDE(casType, "annotationLevel", "uima.cas.String", featOkTst);
  casFeatCode_annotationLevel  = (null == casFeat_annotationLevel) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_annotationLevel).getCode();

 
  casFeat_isContinuous = jcas.getRequiredFeatureDE(casType, "isContinuous", "uima.cas.Boolean", featOkTst);
  casFeatCode_isContinuous  = (null == casFeat_isContinuous) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_isContinuous).getCode();

 
  casFeat_segmentList = jcas.getRequiredFeatureDE(casType, "segmentList", "uima.cas.FSArray", featOkTst);
  casFeatCode_segmentList  = (null == casFeat_segmentList) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_segmentList).getCode();

 
  casFeat_attributeList = jcas.getRequiredFeatureDE(casType, "attributeList", "uima.cas.FSArray", featOkTst);
  casFeatCode_attributeList  = (null == casFeat_attributeList) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_attributeList).getCode();

 
  casFeat_pointerList = jcas.getRequiredFeatureDE(casType, "pointerList", "uima.cas.FSArray", featOkTst);
  casFeatCode_pointerList  = (null == casFeat_pointerList) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_pointerList).getCode();

 
  casFeat_adaptedCoveredText = jcas.getRequiredFeatureDE(casType, "adaptedCoveredText", "uima.cas.String", featOkTst);
  casFeatCode_adaptedCoveredText  = (null == casFeat_adaptedCoveredText) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_adaptedCoveredText).getCode();

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

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

 
  casFeat_metaTripletsNames = jcas.getRequiredFeatureDE(casType, "metaTripletsNames", "uima.cas.StringArray", featOkTst);
  casFeatCode_metaTripletsNames  = (null == casFeat_metaTripletsNames) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_metaTripletsNames).getCode();

 
  casFeat_metaTripletsValues = jcas.getRequiredFeatureDE(casType, "metaTripletsValues", "uima.cas.StringArray", featOkTst);
  casFeatCode_metaTripletsValues  = (null == casFeat_metaTripletsValues) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_metaTripletsValues).getCode();

 
  casFeat_metaTripletsTypes = jcas.getRequiredFeatureDE(casType, "metaTripletsTypes", "uima.cas.StringArray", featOkTst);
  casFeatCode_metaTripletsTypes  = (null == casFeat_metaTripletsTypes) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_metaTripletsTypes).getCode();

 
  casFeat_docId = jcas.getRequiredFeatureDE(casType, "docId", "uima.cas.String", featOkTst);
  casFeatCode_docId  = (null == casFeat_docId) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_docId).getCode();

 
  casFeat_timestamp = jcas.getRequiredFeatureDE(casType, "timestamp", "uima.cas.String", featOkTst);
  casFeatCode_timestamp  = (null == casFeat_timestamp) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_timestamp).getCode();

 
  casFeat_keyterms = jcas.getRequiredFeatureDE(casType, "keyterms", "uima.cas.String", featOkTst);
  casFeatCode_keyterms  = (null == casFeat_keyterms) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_keyterms).getCode();

}
 
Example 19
Source File: RegulationOfGeneExpression_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 RegulationOfGeneExpression_Type(JCas jcas, Type casType) {
  super(jcas, casType);
  casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
  casFeat_physicalContact = jcas.getRequiredFeatureDE(casType, "physicalContact", "uima.cas.String", featOkTst);
  casFeatCode_physicalContact  = (null == casFeat_physicalContact) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_physicalContact).getCode();

}
 
Example 20
Source File: Token_Type.java    From bluima with Apache License 2.0 2 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_lemma = jcas.getRequiredFeatureDE(casType, "lemma", "de.julielab.jules.types.Lemma", featOkTst);
  casFeatCode_lemma  = (null == casFeat_lemma) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_lemma).getCode();

 
  casFeat_posTag = jcas.getRequiredFeatureDE(casType, "posTag", "uima.cas.FSArray", featOkTst);
  casFeatCode_posTag  = (null == casFeat_posTag) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_posTag).getCode();

 
  casFeat_stemmedForm = jcas.getRequiredFeatureDE(casType, "stemmedForm", "de.julielab.jules.types.StemmedForm", featOkTst);
  casFeatCode_stemmedForm  = (null == casFeat_stemmedForm) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_stemmedForm).getCode();

 
  casFeat_feats = jcas.getRequiredFeatureDE(casType, "feats", "de.julielab.jules.types.GrammaticalFeats", featOkTst);
  casFeatCode_feats  = (null == casFeat_feats) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_feats).getCode();

 
  casFeat_orthogr = jcas.getRequiredFeatureDE(casType, "orthogr", "de.julielab.jules.types.Orthography", featOkTst);
  casFeatCode_orthogr  = (null == casFeat_orthogr) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_orthogr).getCode();

 
  casFeat_depRel = jcas.getRequiredFeatureDE(casType, "depRel", "uima.cas.FSArray", featOkTst);
  casFeatCode_depRel  = (null == casFeat_depRel) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_depRel).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_lemmaStr = jcas.getRequiredFeatureDE(casType, "lemmaStr", "uima.cas.String", featOkTst);
  casFeatCode_lemmaStr  = (null == casFeat_lemmaStr) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_lemmaStr).getCode();

 
  casFeat_topicIds = jcas.getRequiredFeatureDE(casType, "topicIds", "uima.cas.String", featOkTst);
  casFeatCode_topicIds  = (null == casFeat_topicIds) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_topicIds).getCode();

}