public EntailmentMetadata_Type(JCas jcas, Type casType) {
    super(jcas, casType);
    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
    casFeat_task = jcas.getRequiredFeatureDE(casType, "task", "uima.cas.String", featOkTst);
    casFeatCode_task  = (null == casFeat_task) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_task).getCode();

 
    casFeat_channel = jcas.getRequiredFeatureDE(casType, "channel", "uima.cas.String", featOkTst);
    casFeatCode_channel  = (null == casFeat_channel) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_channel).getCode();

 
    casFeat_origin = jcas.getRequiredFeatureDE(casType, "origin", "uima.cas.String", featOkTst);
    casFeatCode_origin  = (null == casFeat_origin) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_origin).getCode();

 
    casFeat_TextDocumentID = jcas.getRequiredFeatureDE(casType, "TextDocumentID", "uima.cas.String", featOkTst);
    casFeatCode_TextDocumentID  = (null == casFeat_TextDocumentID) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_TextDocumentID).getCode();

 
    casFeat_TextCollectionID = jcas.getRequiredFeatureDE(casType, "TextCollectionID", "uima.cas.String", featOkTst);
    casFeatCode_TextCollectionID  = (null == casFeat_TextCollectionID) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_TextCollectionID).getCode();

 
    casFeat_HypothesisDocumentID = jcas.getRequiredFeatureDE(casType, "HypothesisDocumentID", "uima.cas.String", featOkTst);
    casFeatCode_HypothesisDocumentID  = (null == casFeat_HypothesisDocumentID) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_HypothesisDocumentID).getCode();

 
    casFeat_HypothesisCollectionID = jcas.getRequiredFeatureDE(casType, "HypothesisCollectionID", "uima.cas.String", featOkTst);
    casFeatCode_HypothesisCollectionID  = (null == casFeat_HypothesisCollectionID) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_HypothesisCollectionID).getCode();

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

  }