public void setRelations(int i, Relation v) { 
    if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_relations == null)
      jcasType.jcas.throwFeatMissing("relations", "de.julielab.jules.types.ace.Document");
    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations), i);
    jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations), i, jcasType.ll_cas.ll_getFSRef(v));}
public void setRelations ( int i , Relation v ) { if ( Document_Type . featOkTst && ( ( Document_Type ) jcasType ) . casFeat_relations == null ) jcasType . jcas . throwFeatMissing ( "relations" , "de.julielab.jules.types.ace.Document" ) ; jcasType . jcas . checkArrayBounds ( jcasType . ll_cas . ll_getRefValue ( addr , ( ( Document_Type ) jcasType ) . casFeatCode_relations ) , i ) ; jcasType . ll_cas . ll_setRefArrayValue ( jcasType . ll_cas . ll_getRefValue ( addr , ( ( Document_Type ) jcasType ) . casFeatCode_relations ) , i , jcasType . ll_cas . ll_getFSRef ( v ) ) ; }
indexed setter for relations - sets an indexed value -
@generated
@param i index in the array to set
@param v value to set into the array