test_class.declarator: classUnderTest = null
test_class.modifier: private
test_class.original_string: private IWikiTableConfigurationFactory classUnderTest = null;
test_class.type: IWikiTableConfigurationFactory
test_class.var_name: classUnderTest
test_class.file: sql12/fw/src/test/java/net/sourceforge/squirrel_sql/fw/gui/action/wikiTable/WikiTableConfigurationFactoryTest.java
test_class.identifier: WikiTableConfigurationFactoryTest
test_class.superclass: extends BaseSQuirreLJUnit4TestCase
test_case.body: @Test()
  	public void testAddBuildInConfiguration() {
  		IWikiTableConfiguration mockConfig = mockHelper.createMock(IWikiTableConfiguration.class);
  		expect(mockConfig.getName()).andStubReturn("NewConfig");
  		expect(mockConfig.isReadOnly()).andReturn(true);
  		expect(mockConfig.clone()).andReturn(mockConfig);
  		mockHelper.replayAll();
  		
  		classUnderTest.addBuilInConfiguration(mockConfig);
  		// otherwise we got an exception
  	}
test_case.class_method_signature: WikiTableConfigurationFactoryTest.testAddBuildInConfiguration()
test_case.full_signature: @Test() public void testAddBuildInConfiguration()
test_case.identifier: testAddBuildInConfiguration
test_case.invocations: createMock andStubReturn expect getName andReturn expect isReadOnly andReturn expect clone replayAll addBuilInConfiguration
test_case.modifiers: @Test() public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAddBuildInConfiguration()
focal_class.declarator: buildInConfigurations = null
focal_class.modifier: private
focal_class.original_string: private  List<IWikiTableConfiguration> buildInConfigurations = null;
focal_class.type: List<IWikiTableConfiguration>
focal_class.var_name: buildInConfigurations
focal_class.declarator: userSpecificConfigurations = null
focal_class.modifier: private
focal_class.original_string: private  List<IWikiTableConfiguration> userSpecificConfigurations = null;
focal_class.type: List<IWikiTableConfiguration>
focal_class.var_name: userSpecificConfigurations
focal_class.declarator: instance = null
focal_class.modifier: private static
focal_class.original_string: private static IWikiTableConfigurationFactory instance = null;
focal_class.type: IWikiTableConfigurationFactory
focal_class.var_name: instance
focal_class.file: sql12/fw/src/main/java/net/sourceforge/squirrel_sql/fw/gui/action/wikiTable/WikiTableConfigurationFactory.java
focal_class.identifier: WikiTableConfigurationFactory
focal_class.interfaces: implements IWikiTableConfigurationFactory
focal_class.class_method_signature: WikiTableConfigurationFactory.WikiTableConfigurationFactory()
focal_class.full_signature:   WikiTableConfigurationFactory()
focal_class.identifier: WikiTableConfigurationFactory
focal_class.parameters: ()
focal_class.signature:  WikiTableConfigurationFactory()
focal_class.class_method_signature: WikiTableConfigurationFactory.loadConfigurations()
focal_class.full_signature: private void loadConfigurations()
focal_class.identifier: loadConfigurations
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void loadConfigurations()
focal_class.class_method_signature: WikiTableConfigurationFactory.getConfigurations()
focal_class.full_signature: @Override public synchronized List<IWikiTableConfiguration> getConfigurations()
focal_class.identifier: getConfigurations
focal_class.modifiers: @Override public synchronized
focal_class.parameters: ()
focal_class.return: List<IWikiTableConfiguration>
focal_class.signature: List<IWikiTableConfiguration> getConfigurations()
focal_class.class_method_signature: WikiTableConfigurationFactory.sortByName(List<IWikiTableConfiguration> list)
focal_class.full_signature: private void sortByName(List<IWikiTableConfiguration> list)
focal_class.identifier: sortByName
focal_class.modifiers: private
focal_class.parameters: (List<IWikiTableConfiguration> list)
focal_class.return: void
focal_class.signature: void sortByName(List<IWikiTableConfiguration> list)
focal_class.class_method_signature: WikiTableConfigurationFactory.getUserSpecificConfigurations()
focal_class.full_signature: @Override public synchronized List<IWikiTableConfiguration> getUserSpecificConfigurations()
focal_class.identifier: getUserSpecificConfigurations
focal_class.modifiers: @Override public synchronized
focal_class.parameters: ()
focal_class.return: List<IWikiTableConfiguration>
focal_class.signature: List<IWikiTableConfiguration> getUserSpecificConfigurations()
focal_class.class_method_signature: WikiTableConfigurationFactory.getBuildInConfigurations()
focal_class.full_signature: @Override public synchronized List<IWikiTableConfiguration> getBuildInConfigurations()
focal_class.identifier: getBuildInConfigurations
focal_class.modifiers: @Override public synchronized
focal_class.parameters: ()
focal_class.return: List<IWikiTableConfiguration>
focal_class.signature: List<IWikiTableConfiguration> getBuildInConfigurations()
focal_class.class_method_signature: WikiTableConfigurationFactory.getInstance()
focal_class.full_signature: public static synchronized IWikiTableConfigurationFactory getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: public static synchronized
focal_class.parameters: ()
focal_class.return: IWikiTableConfigurationFactory
focal_class.signature: IWikiTableConfigurationFactory getInstance()
focal_class.class_method_signature: WikiTableConfigurationFactory.addBuilInConfiguration(IWikiTableConfiguration additionalBuildInConfig)
focal_class.full_signature: @Override public synchronized void addBuilInConfiguration(IWikiTableConfiguration additionalBuildInConfig)
focal_class.identifier: addBuilInConfiguration
focal_class.modifiers: @Override public synchronized
focal_class.parameters: (IWikiTableConfiguration additionalBuildInConfig)
focal_class.return: void
focal_class.signature: void addBuilInConfiguration(IWikiTableConfiguration additionalBuildInConfig)
focal_class.class_method_signature: WikiTableConfigurationFactory.replaceBuilInConfiguration(List<IWikiTableConfiguration> configurations)
focal_class.full_signature: @Override public synchronized void replaceBuilInConfiguration(List<IWikiTableConfiguration> configurations)
focal_class.identifier: replaceBuilInConfiguration
focal_class.modifiers: @Override public synchronized
focal_class.parameters: (List<IWikiTableConfiguration> configurations)
focal_class.return: void
focal_class.signature: void replaceBuilInConfiguration(List<IWikiTableConfiguration> configurations)
focal_class.class_method_signature: WikiTableConfigurationFactory.isNameUnique(IWikiTableConfiguration aConfig)
focal_class.full_signature: private boolean isNameUnique(IWikiTableConfiguration aConfig)
focal_class.identifier: isNameUnique
focal_class.modifiers: private
focal_class.parameters: (IWikiTableConfiguration aConfig)
focal_class.return: boolean
focal_class.signature: boolean isNameUnique(IWikiTableConfiguration aConfig)
focal_class.class_method_signature: WikiTableConfigurationFactory.isNameUnique(List<IWikiTableConfiguration> avaiableConfigs, IWikiTableConfiguration aConfig)
focal_class.full_signature: private boolean isNameUnique(List<IWikiTableConfiguration> avaiableConfigs, IWikiTableConfiguration aConfig)
focal_class.identifier: isNameUnique
focal_class.modifiers: private
focal_class.parameters: (List<IWikiTableConfiguration> avaiableConfigs, IWikiTableConfiguration aConfig)
focal_class.return: boolean
focal_class.signature: boolean isNameUnique(List<IWikiTableConfiguration> avaiableConfigs, IWikiTableConfiguration aConfig)
focal_class.class_method_signature: WikiTableConfigurationFactory.replaceUserSpecificConfigurations(List<IWikiTableConfiguration> config)
focal_class.full_signature: @Override public synchronized void replaceUserSpecificConfigurations(List<IWikiTableConfiguration> config)
focal_class.identifier: replaceUserSpecificConfigurations
focal_class.modifiers: @Override public synchronized
focal_class.parameters: (List<IWikiTableConfiguration> config)
focal_class.return: void
focal_class.signature: void replaceUserSpecificConfigurations(List<IWikiTableConfiguration> config)
focal_class.class_method_signature: WikiTableConfigurationFactory.addUserSpecificConfigurations(IWikiTableConfiguration config)
focal_class.full_signature: @Override public void addUserSpecificConfigurations(IWikiTableConfiguration config)
focal_class.identifier: addUserSpecificConfigurations
focal_class.modifiers: @Override public
focal_class.parameters: (IWikiTableConfiguration config)
focal_class.return: void
focal_class.signature: void addUserSpecificConfigurations(IWikiTableConfiguration config)
focal_class.class_method_signature: WikiTableConfigurationFactory.setBuildInConfigurations(List<IWikiTableConfiguration> buildInConfigurations)
focal_class.full_signature: public synchronized void setBuildInConfigurations(List<IWikiTableConfiguration> buildInConfigurations)
focal_class.identifier: setBuildInConfigurations
focal_class.modifiers: public synchronized
focal_class.parameters: (List<IWikiTableConfiguration> buildInConfigurations)
focal_class.return: void
focal_class.signature: void setBuildInConfigurations(List<IWikiTableConfiguration> buildInConfigurations)
focal_class.class_method_signature: WikiTableConfigurationFactory.setUserSpecificConfigurations(List<IWikiTableConfiguration> userSpecificConfigurations)
focal_class.full_signature: public synchronized void setUserSpecificConfigurations(List<IWikiTableConfiguration> userSpecificConfigurations)
focal_class.identifier: setUserSpecificConfigurations
focal_class.modifiers: public synchronized
focal_class.parameters: (List<IWikiTableConfiguration> userSpecificConfigurations)
focal_class.return: void
focal_class.signature: void setUserSpecificConfigurations(List<IWikiTableConfiguration> userSpecificConfigurations)
focal_class.class_method_signature: WikiTableConfigurationFactory.merge(List<IWikiTableConfiguration> primary, List<IWikiTableConfiguration> secondary)
focal_class.full_signature: public static List<IWikiTableConfiguration> merge(List<IWikiTableConfiguration> primary, List<IWikiTableConfiguration> secondary)
focal_class.identifier: merge
focal_class.modifiers: public static
focal_class.parameters: (List<IWikiTableConfiguration> primary, List<IWikiTableConfiguration> secondary)
focal_class.return: List<IWikiTableConfiguration>
focal_class.signature: List<IWikiTableConfiguration> merge(List<IWikiTableConfiguration> primary, List<IWikiTableConfiguration> secondary)
focal_method.body: @Override
  	public synchronized void  addBuilInConfiguration(IWikiTableConfiguration additionalBuildInConfig){
  		if(additionalBuildInConfig.isReadOnly() == false){
  			throw new IllegalArgumentException("A not read-only configuration cannot be a build-in configuration!");
  		}
  		if(isNameUnique(additionalBuildInConfig)){
  			this.buildInConfigurations.add(additionalBuildInConfig.clone());
  		}else{
  			throw new IllegalArgumentException("The name of the configuration " + additionalBuildInConfig.getName() + " is not unique!");
  		}
  	}
focal_method.class_method_signature: WikiTableConfigurationFactory.addBuilInConfiguration(IWikiTableConfiguration additionalBuildInConfig)
focal_method.full_signature: @Override public synchronized void addBuilInConfiguration(IWikiTableConfiguration additionalBuildInConfig)
focal_method.identifier: addBuilInConfiguration
focal_method.invocations: isReadOnly isNameUnique add clone getName
focal_method.modifiers: @Override public synchronized
focal_method.parameters: (IWikiTableConfiguration additionalBuildInConfig)
focal_method.return: void
focal_method.signature: void addBuilInConfiguration(IWikiTableConfiguration additionalBuildInConfig)