@Override public void generate () { super.generate (); if ( this.item.getConnection () == null ) { throw new IllegalStateException ( String.format ( "Item '%s' has no connection set", this.item.getName () ) ); } addSource ( makeSourceId (), this.item.getSourceName (), Names.makeName ( this.item.getConnection () ), this.item.getInformation ().getDescription () ); }
@Override public void generate () { super.generate (); if ( this.item.getConnection () == null ) { throw new IllegalStateException ( String.format ( "Item '%s' has no connection set", this.item.getName () ) ); } addSource ( makeSourceId (), this.item.getSourceName (), Names.makeName ( this.item.getConnection () ), this.item.getInformation ().getDescription () ); }