/** @generated * @param jcas JCas to which this Feature Structure belongs * @param begin offset to the begin spot in the SofA * @param end offset to the end spot in the SofA */ public BodySideModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
attribute.setValue(stringSlots.remove("body_side_normalization")); attribute.addToIndexes(); BodySideModifier modifier = new BodySideModifier(jCas, coveringSpan.begin, coveringSpan.end); modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier);
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public BodySideModifier(JCas jcas) { super(jcas); readObject(); }
/** * @param anatomicalSite - * @return a line of text with body laterality and side ; if available */ static private String getAnatomicalProperties( final AnatomicalSiteMention anatomicalSite ) { StringBuilder sb = new StringBuilder(); final BodyLateralityModifier laterality = anatomicalSite.getBodyLaterality(); if ( laterality != null ) { final Attribute normalized = laterality.getNormalizedForm(); if ( normalized != null && normalized instanceof BodyLaterality ) { sb.append( ", " ); sb.append( ((BodyLaterality)normalized).getValue() ); } } final BodySideModifier bodySide = anatomicalSite.getBodySide(); if ( bodySide != null ) { final Attribute normalized = bodySide.getNormalizedForm(); if ( normalized != null && normalized instanceof BodySide ) { sb.append( ", " ); sb.append( ((BodySide)normalized).getValue() ); } } return sb.toString(); }
attribute.setValue(stringSlots.remove("body_side_normalization")); attribute.addToIndexes(); BodySideModifier modifier = new BodySideModifier(jCas, coveringSpan.begin, coveringSpan.end); modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier);
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public BodySideModifier(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** * @param anatomicalSite - * @return a line of text with body laterality and side ; if available */ static private String getAnatomicalProperties( final AnatomicalSiteMention anatomicalSite ) { StringBuilder sb = new StringBuilder(); final BodyLateralityModifier laterality = anatomicalSite.getBodyLaterality(); if ( laterality != null ) { final Attribute normalized = laterality.getNormalizedForm(); if ( normalized != null && normalized instanceof BodyLaterality ) { sb.append( ", " ); sb.append( ((BodyLaterality)normalized).getValue() ); } } final BodySideModifier bodySide = anatomicalSite.getBodySide(); if ( bodySide != null ) { final Attribute normalized = bodySide.getNormalizedForm(); if ( normalized != null && normalized instanceof BodySide ) { sb.append( ", " ); sb.append( ((BodySide)normalized).getValue() ); } } return sb.toString(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs * @param begin offset to the begin spot in the SofA * @param end offset to the end spot in the SofA */ public BodySideModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
attribute.setValue(stringSlots.remove("body_side_normalization")); attribute.addToIndexes(); BodySideModifier modifier = new BodySideModifier(jCas, coveringSpan.begin, coveringSpan.end); modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier);
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public BodySideModifier(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs * @param begin offset to the begin spot in the SofA * @param end offset to the end spot in the SofA */ public BodySideModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
attribute.setValue(stringSlots.remove("body_side_normalization")); attribute.addToIndexes(); BodySideModifier modifier = new BodySideModifier(jCas, coveringSpan.begin, coveringSpan.end); modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier);
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public BodySideModifier(JCas jcas) { super(jcas); readObject(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs * @param begin offset to the begin spot in the SofA * @param end offset to the end spot in the SofA */ public BodySideModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public BodySideModifier(JCas jcas) { super(jcas); readObject(); }
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public BodySideModifier(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public BodySideModifier(JCas jcas) { super(jcas); readObject(); }
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public BodySideModifier(int addr, TOP_Type type) { super(addr, type); readObject(); }