Class MetaConfiguration
java.lang.Object
com.denodo.configuration.metadata.MetaConfiguration
- All Implemented Interfaces:
Serializable
Configuration encapsulates the meta-information required by a specific Custom Element.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final longFor interoperability with possible future changes. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty Configuration.MetaConfiguration(String type, String subType, String className, Collection<MetaParameter> parameters) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParam(MetaParameter metaParam) Adds a meta-parameter to the Collection.voidaddParams(Collection<MetaParameter> metaParams) Adds a collections of meta-parameters to the Collection.Obtains the Collection of meta-parameters.getType()voidsetClassName(String className) voidsetDefaultConfiguration(ParameterStructure defaultConfig) voidsetParams(Collection<MetaParameter> parameters) Sets the Collection of meta-parameters.voidsetSubType(String subType) voidtoString()
-
Field Details
-
serialVersionUID
protected static final long serialVersionUIDFor interoperability with possible future changes.- See Also:
-
-
Constructor Details
-
MetaConfiguration
public MetaConfiguration()Creates an empty Configuration. -
MetaConfiguration
public MetaConfiguration(String type, String subType, String className, Collection<MetaParameter> parameters)
-
-
Method Details
-
getType
- Returns:
- the type
-
setType
- Parameters:
type- the type to set
-
getSubType
- Returns:
- the subType
-
setSubType
- Parameters:
subType- the subType to set
-
getClassName
- Returns:
- the className
-
setClassName
- Parameters:
className- the className to set
-
getParams
Obtains the Collection of meta-parameters.- Returns:
- the Collection of
MetaParameter.
-
setParams
Sets the Collection of meta-parameters.- Parameters:
parameters- the Collection ofMetaParameter.
-
addParam
Adds a meta-parameter to the Collection.- Parameters:
metaParam- theMetaParameterto be added.
-
addParams
Adds a collections of meta-parameters to the Collection.- Parameters:
metaParams- the Collection ofMetaParameterto be added.
-
getParam
-
getDefaultConfiguration
- Returns:
- the default configuration, if any
-
setDefaultConfiguration
- Parameters:
defaultConfig- the default configuration to set
-
toString
-