setter for preferredTerm - sets The preferred term associated with the corresponding ontology class.
@generated
@param v value to set into the feature
504676
public void setPreferredTerm(String v) {
    if (OntClassMention_Type.featOkTst && ((OntClassMention_Type)jcasType).casFeat_preferredTerm == null)
      jcasType.jcas.throwFeatMissing("preferredTerm", "de.julielab.jules.types.OntClassMention");
    jcasType.ll_cas.ll_setStringValue(addr, ((OntClassMention_Type)jcasType).casFeatCode_preferredTerm, v);}
580072
public void setQuestion(String v) {
    if (InputElement_Type.featOkTst && ((InputElement_Type)jcasType).casFeat_question == null)
      jcasType.jcas.throwFeatMissing("question", "edu.cmu.lti.oaqa.framework.types.InputElement");
    jcasType.ll_cas.ll_setStringValue(addr, ((InputElement_Type)jcasType).casFeatCode_question, v);}
1141164
public void setV(Object v) {
        if (v instanceof String) {
            this.v = Numeric.toBigInt((String) v).longValueExact();
        } else if (v instanceof Integer) {
            this.v = ((Integer) v).longValue();
        } else {
            this.v = (Long) v;
        }
    }
292648
public void setIssue(String v) {
    if (Journal_Type.featOkTst && ((Journal_Type)jcasType).casFeat_issue == null)
      jcasType.jcas.throwFeatMissing("issue", "de.julielab.jules.types.Journal");
    jcasType.ll_cas.ll_setStringValue(addr, ((Journal_Type)jcasType).casFeatCode_issue, v);}
819231
public void setDomain(Annotation v) {
    if (OntRelationMention_Type.featOkTst && ((OntRelationMention_Type)jcasType).casFeat_domain == null)
      jcasType.jcas.throwFeatMissing("domain", "de.julielab.jules.types.OntRelationMention");
    jcasType.ll_cas.ll_setRefValue(addr, ((OntRelationMention_Type)jcasType).casFeatCode_domain, jcasType.ll_cas.ll_getFSRef(v));}
705621
public void setISSN(String v) {
    if (Journal_Type.featOkTst && ((Journal_Type)jcasType).casFeat_ISSN == null)
      jcasType.jcas.throwFeatMissing("ISSN", "de.julielab.jules.types.Journal");
    jcasType.ll_cas.ll_setStringValue(addr, ((Journal_Type)jcasType).casFeatCode_ISSN, v);}
1107560
public void setLanguage(String v) {
    if (Header_Type.featOkTst && ((Header_Type)jcasType).casFeat_language == null)
      jcasType.jcas.throwFeatMissing("language", "de.julielab.jules.types.Header");
    jcasType.ll_cas.ll_setStringValue(addr, ((Header_Type)jcasType).casFeatCode_language, v);}
428603
public void setObjectLabel(String v) {
    if (TextObject_Type.featOkTst && ((TextObject_Type)jcasType).casFeat_objectLabel == null)
      jcasType.jcas.throwFeatMissing("objectLabel", "de.julielab.jules.types.TextObject");
    jcasType.ll_cas.ll_setStringValue(addr, ((TextObject_Type)jcasType).casFeatCode_objectLabel, v);}
849380
public void setVersion(String v) {
    if (ResourceEntry_Type.featOkTst && ((ResourceEntry_Type)jcasType).casFeat_version == null)
      jcasType.jcas.throwFeatMissing("version", "de.julielab.jules.types.ResourceEntry");
    jcasType.ll_cas.ll_setStringValue(addr, ((ResourceEntry_Type)jcasType).casFeatCode_version, v);}
295783
public void setFamilyName(String v) {
    if (DocumentSpecies_Type.featOkTst && ((DocumentSpecies_Type)jcasType).casFeat_familyName == null)
      jcasType.jcas.throwFeatMissing("familyName", "ch.epfl.bbp.uima.types.DocumentSpecies");
    jcasType.ll_cas.ll_setStringValue(addr, ((DocumentSpecies_Type)jcasType).casFeatCode_familyName, v);}
231483
public void setAce_class(String v) {
    if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_ace_class == null)
      jcasType.jcas.throwFeatMissing("ace_class", "de.julielab.jules.types.ace.Entity");
    jcasType.ll_cas.ll_setStringValue(addr, ((Entity_Type)jcasType).casFeatCode_ace_class, v);}
103723
public void setAffiliation(String v) {
    if (AuthorInfo_Type.featOkTst && ((AuthorInfo_Type)jcasType).casFeat_affiliation == null)
      jcasType.jcas.throwFeatMissing("affiliation", "de.julielab.jules.types.AuthorInfo");
    jcasType.ll_cas.ll_setStringValue(addr, ((AuthorInfo_Type)jcasType).casFeatCode_affiliation, v);}
797312
public void setOptional(boolean optional) {
    if (field.getType().isPrimitive() || field.isAnnotationPresent(Version.class)
        || field.isAnnotationPresent(CreatedTimestamp.class)
        || field.isAnnotationPresent(UpdatedTimestamp.class)) {
      this.optional = false;
    } else {
      this.optional = optional;
    }
  }
1227618
public void setRef(TOP v) {
    if (ConceptMention_Type.featOkTst && ((ConceptMention_Type)jcasType).casFeat_ref == null)
      jcasType.jcas.throwFeatMissing("ref", "de.julielab.jules.types.ConceptMention");
    jcasType.ll_cas.ll_setRefValue(addr, ((ConceptMention_Type)jcasType).casFeatCode_ref, jcasType.ll_cas.ll_getFSRef(v));}
311892
public void setProbability(double v) {
    if (WordForm_Type.featOkTst && ((WordForm_Type)jcasType).casFeat_probability == null)
      jcasType.jcas.throwFeatMissing("probability", "com.digitalpebble.rasp.WordForm");
    jcasType.ll_cas.ll_setDoubleValue(addr, ((WordForm_Type)jcasType).casFeatCode_probability, v);}
1003134
public void addTerm(OntologyTerm term) {
        terms.put(term.getId(), term);
        indexTerm(term);
        isTypeOfIsBuilt = false;
    }
342901
public void setPreferredFormats(List<String> preferredFormats) {
		if (preferredFormats.isEmpty()) {
			throw new IllegalArgumentException("Preferred formats list must not be empty");
		}
		this.preferredFormats = new ArrayList<>(preferredFormats);
	}