protected void mergeCiManagement_System( CiManagement target, CiManagement 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 mergeCiManagement_Url( CiManagement target, CiManagement 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_CiManagement( Model target, Model source, boolean sourceDominant, Map<Object, Object> context ) { CiManagement src = source.getCiManagement(); if ( src != null ) { CiManagement tgt = target.getCiManagement(); if ( tgt == null ) { tgt = new CiManagement(); tgt.setLocation( "", src.getLocation( "" ) ); target.setCiManagement( tgt ); mergeCiManagement( tgt, src, sourceDominant, context ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); ciManagement.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) ciManagement.setLocation( "system", _location ); ciManagement.setSystem( interpolatedTrimmed( parser.nextText(), "system" ) ); ciManagement.setLocation( "url", _location ); ciManagement.setUrl( interpolatedTrimmed( parser.nextText(), "url" ) );
protected void mergeCiManagement_System( CiManagement target, CiManagement 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 mergeCiManagement_Url( CiManagement target, CiManagement 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_CiManagement( Model target, Model source, boolean sourceDominant, Map<Object, Object> context ) { CiManagement src = source.getCiManagement(); if ( src != null ) { CiManagement tgt = target.getCiManagement(); if ( tgt == null ) { tgt = new CiManagement(); tgt.setLocation( "", src.getLocation( "" ) ); target.setCiManagement( tgt ); mergeCiManagement( tgt, src, sourceDominant, context ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); ciManagement.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) ciManagement.setLocation( "system", _location ); ciManagement.setSystem( getTrimmedValue( parser.nextText() ) ); ciManagement.setLocation( "url", _location ); ciManagement.setUrl( getTrimmedValue( parser.nextText() ) );