org.rhq.core.domain.configuration.definition
Class ConfigurationTemplate
java.lang.Object
org.rhq.core.domain.configuration.definition.ConfigurationTemplate
- All Implemented Interfaces:
- Serializable
public class ConfigurationTemplate
- extends Object
- implements Serializable
This object represents a single template of configuration values for a given definition. Definitions may have many
templates. E.g. the Datasource resource definition could have templates for an oracle server and a postgres server.
The templates are one-to-one linked to a Configuration which holds the values for the properties of that template.
- See Also:
- Serialized Form
DEFAULT_TEMPLATE_NAME
public static final String DEFAULT_TEMPLATE_NAME
- See Also:
- Constant Field Values
ConfigurationTemplate
protected ConfigurationTemplate()
ConfigurationTemplate
public ConfigurationTemplate(@NotNull
String name,
@Nullable
String description)
getId
public int getId()
setId
public void setId(int id)
getName
@NotNull
public String getName()
setName
public void setName(@NotNull
String name)
getDescription
@Nullable
public String getDescription()
setDescription
public void setDescription(@Nullable
String description)
getConfiguration
public Configuration getConfiguration()
setConfiguration
public void setConfiguration(Configuration configuration)
getConfigurationDefinition
public ConfigurationDefinition getConfigurationDefinition()
setConfigurationDefinition
public void setConfigurationDefinition(ConfigurationDefinition configurationDefinition)
isDefault
public boolean isDefault()
setDefault
public void setDefault(boolean isDefault)
createConfiguration
public Configuration createConfiguration()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.