/** @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 BodyLateralityModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute);
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public BodyLateralityModifier(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(); }
BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute);
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public BodyLateralityModifier(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 BodyLateralityModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute);
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public BodyLateralityModifier(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 BodyLateralityModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier); BodyLateralityModifier modifier = new BodyLateralityModifier(jCas, coveringSpan.begin, coveringSpan.end); BodyLaterality attribute = new BodyLaterality(jCas); if (value == null) { modifier.setNormalizedForm(attribute);
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public BodyLateralityModifier(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 BodyLateralityModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public BodyLateralityModifier(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 BodyLateralityModifier(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public BodyLateralityModifier(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 BodyLateralityModifier(int addr, TOP_Type type) { super(addr, type); readObject(); }