protected void mergeIssueManagement_Url( IssueManagement target, IssueManagement source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getUrl(); if ( src != null ) { if ( sourceDominant || target.getUrl() == null ) { target.setUrl( src ); target.setLocation( "url", source.getLocation( "url" ) ); } } }
protected void mergeIssueManagement_System( IssueManagement target, IssueManagement source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getSystem(); if ( src != null ) { if ( sourceDominant || target.getSystem() == null ) { target.setSystem( src ); target.setLocation( "system", source.getLocation( "system" ) ); } } }
@Override protected void mergeModel_IssueManagement( Model target, Model source, boolean sourceDominant, Map<Object, Object> context ) { IssueManagement src = source.getIssueManagement(); if ( src != null ) { IssueManagement tgt = target.getIssueManagement(); if ( tgt == null ) { tgt = new IssueManagement(); tgt.setLocation( "", src.getLocation( "" ) ); target.setIssueManagement( tgt ); mergeIssueManagement( tgt, src, sourceDominant, context ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); issueManagement.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) issueManagement.setLocation( "system", _location ); issueManagement.setSystem( interpolatedTrimmed( parser.nextText(), "system" ) ); issueManagement.setLocation( "url", _location ); issueManagement.setUrl( interpolatedTrimmed( parser.nextText(), "url" ) );
protected void mergeIssueManagement_System( IssueManagement target, IssueManagement source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getSystem(); if ( src != null ) { if ( sourceDominant || target.getSystem() == null ) { target.setSystem( src ); target.setLocation( "system", source.getLocation( "system" ) ); } } }
protected void mergeIssueManagement_Url( IssueManagement target, IssueManagement source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getUrl(); if ( src != null ) { if ( sourceDominant || target.getUrl() == null ) { target.setUrl( src ); target.setLocation( "url", source.getLocation( "url" ) ); } } }
@Override protected void mergeModel_IssueManagement( Model target, Model source, boolean sourceDominant, Map<Object, Object> context ) { IssueManagement src = source.getIssueManagement(); if ( src != null ) { IssueManagement tgt = target.getIssueManagement(); if ( tgt == null ) { tgt = new IssueManagement(); tgt.setLocation( "", src.getLocation( "" ) ); target.setIssueManagement( tgt ); mergeIssueManagement( tgt, src, sourceDominant, context ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); issueManagement.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) issueManagement.setLocation( "system", _location ); issueManagement.setSystem( getTrimmedValue( parser.nextText() ) ); issueManagement.setLocation( "url", _location ); issueManagement.setUrl( getTrimmedValue( parser.nextText() ) );