protected void mergeRepositoryBase_Url( RepositoryBase target, RepositoryBase 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 mergeRepositoryBase_Id( RepositoryBase target, RepositoryBase source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getId(); if ( src != null ) { if ( sourceDominant || target.getId() == null ) { target.setId( src ); target.setLocation( "id", source.getLocation( "id" ) ); } } }
protected void mergeRepositoryBase_Layout( RepositoryBase target, RepositoryBase source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getLayout(); if ( src != null ) { if ( sourceDominant || target.getLayout() == null ) { target.setLayout( src ); target.setLocation( "layout", source.getLocation( "layout" ) ); } } }
protected void mergeRepositoryBase_Name( RepositoryBase target, RepositoryBase source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getName(); if ( src != null ) { if ( sourceDominant || target.getName() == null ) { target.setName( src ); target.setLocation( "name", source.getLocation( "name" ) ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); repositoryBase.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) repositoryBase.setLocation( "id", _location ); repositoryBase.setId( interpolatedTrimmed( parser.nextText(), "id" ) ); repositoryBase.setLocation( "name", _location ); repositoryBase.setName( interpolatedTrimmed( parser.nextText(), "name" ) ); repositoryBase.setLocation( "url", _location ); repositoryBase.setUrl( interpolatedTrimmed( parser.nextText(), "url" ) ); repositoryBase.setLocation( "layout", _location ); repositoryBase.setLayout( interpolatedTrimmed( parser.nextText(), "layout" ) );
protected void mergeRepositoryBase_Name( RepositoryBase target, RepositoryBase source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getName(); if ( src != null ) { if ( sourceDominant || target.getName() == null ) { target.setName( src ); target.setLocation( "name", source.getLocation( "name" ) ); } } }
protected void mergeRepositoryBase_Id( RepositoryBase target, RepositoryBase source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getId(); if ( src != null ) { if ( sourceDominant || target.getId() == null ) { target.setId( src ); target.setLocation( "id", source.getLocation( "id" ) ); } } }
protected void mergeRepositoryBase_Url( RepositoryBase target, RepositoryBase 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 mergeRepositoryBase_Layout( RepositoryBase target, RepositoryBase source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getLayout(); if ( src != null ) { if ( sourceDominant || target.getLayout() == null ) { target.setLayout( src ); target.setLocation( "layout", source.getLocation( "layout" ) ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); repositoryBase.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) repositoryBase.setLocation( "id", _location ); repositoryBase.setId( getTrimmedValue( parser.nextText() ) ); repositoryBase.setLocation( "name", _location ); repositoryBase.setName( getTrimmedValue( parser.nextText() ) ); repositoryBase.setLocation( "url", _location ); repositoryBase.setUrl( getTrimmedValue( parser.nextText() ) ); repositoryBase.setLocation( "layout", _location ); repositoryBase.setLayout( getTrimmedValue( parser.nextText() ) );