public final class ComponentConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
ComponentConfiguration(ComponentConfiguration base)
Creates a new component configuration by copying the base existing configuration
deeply.
|
ComponentConfiguration(java.lang.String name,
ComponentConfiguration base)
Creates a new component configuration by copying the base existing configuration
deeply and changing its name.
|
ComponentConfiguration(java.lang.String name,
java.lang.String classname)
Creates a new component with the specified name and class name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Determines whether this component equals another object.
|
java.lang.String |
getClassname()
Returns the type of the component.
|
java.lang.String |
getName()
Returns the id of the component.
|
java.util.Set<ParameterConfiguration> |
getParameters()
Returns the set of parameters.
|
int |
hashCode()
Returns a hash code based on the name alone.
|
java.lang.String |
toString()
Returns a human readable string representation.
|
public ComponentConfiguration(java.lang.String name,
java.lang.String classname)
name - The component's name.classname - The component's class name.java.lang.NullPointerException - Thrown if the name or class name is null.public ComponentConfiguration(ComponentConfiguration base)
base - The base configuration to copy.public ComponentConfiguration(java.lang.String name,
ComponentConfiguration base)
name - The new name of the configuration.base - The base configuration to copy.public java.util.Set<ParameterConfiguration> getParameters()
public java.lang.String getName()
public java.lang.String getClassname()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The object to compare to.public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object