@Test(expected=IllegalStateException.class) public void checkExceptionOnPreBuildGetProperties() { odapService.getProperties(); }
public List<Property> getProperties() { if ( !this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder before build() was called." ); return this.propertyContainer.getProperties(); }
ServiceImpl implements Service, ServiceBuilder { public List<Property> getProperties() { if ( !this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder before build() was called." ); return this.propertyContainer.getProperties(); } }
ServiceImpl implements Service, ServiceBuilder { public List<Property> getProperties() { if ( !this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder before build() was called." ); return this.propertyContainer.getProperties(); } ServiceImpl( String name, ServiceType type, URI baseUri, GlobalServiceContainer globalServiceContainer ); }
ServiceImpl implements Service, ServiceBuilder { public List<Property> getProperties() { if ( !this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder before build() was called." ); return this.propertyContainer.getProperties(); } ServiceImpl( String name, ServiceType type, URI baseUri, GlobalServiceContainer globalServiceContainer ); String getName(); void setDescription( String description ); String getDescription(); void setType( ServiceType type ); ServiceType getType(); void setBaseUri( URI baseUri ); URI getBaseUri(); void setSuffix( String suffix ); String getSuffix(); void addProperty( String name, String value ); boolean removeProperty( String name ); List<String> getPropertyNames(); String getPropertyValue( String name ); List<Property> getProperties(); Property getPropertyByName( String name ); ServiceBuilder addService( String name, ServiceType type, URI baseUri ); boolean removeService( ServiceBuilder serviceBuilder ); List<Service> getServices(); Service getServiceByName( String name ); Service findServiceByNameGlobally( String name ); List<ServiceBuilder> getServiceBuilders(); ServiceBuilder getServiceBuilderByName( String name ); ServiceBuilder findServiceBuilderByNameGlobally( String name ); boolean isBuilt(); BuilderIssues getIssues(); Service build(); }
ServiceImpl implements Service, ServiceBuilder { public List<Property> getProperties() { if ( !this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder before build() was called." ); return this.propertyContainer.getProperties(); } ServiceImpl( String name, ServiceType type, URI baseUri, GlobalServiceContainer globalServiceContainer ); String getName(); void setDescription( String description ); String getDescription(); void setType( ServiceType type ); ServiceType getType(); void setBaseUri( URI baseUri ); URI getBaseUri(); void setSuffix( String suffix ); String getSuffix(); void addProperty( String name, String value ); boolean removeProperty( String name ); List<String> getPropertyNames(); String getPropertyValue( String name ); List<Property> getProperties(); Property getPropertyByName( String name ); ServiceBuilder addService( String name, ServiceType type, URI baseUri ); boolean removeService( ServiceBuilder serviceBuilder ); List<Service> getServices(); Service getServiceByName( String name ); Service findServiceByNameGlobally( String name ); List<ServiceBuilder> getServiceBuilders(); ServiceBuilder getServiceBuilderByName( String name ); ServiceBuilder findServiceBuilderByNameGlobally( String name ); boolean isBuilt(); BuilderIssues getIssues(); Service build();  }