Class MetaConfiguration

java.lang.Object
com.denodo.configuration.metadata.MetaConfiguration
All Implemented Interfaces:
Serializable

public class MetaConfiguration extends Object implements Serializable
Configuration encapsulates the meta-information required by a specific Custom Element.
See Also:
  • Field Details

    • serialVersionUID

      protected static final long serialVersionUID
      For 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

      public String getType()
      Returns:
      the type
    • setType

      public void setType(String type)
      Parameters:
      type - the type to set
    • getSubType

      public String getSubType()
      Returns:
      the subType
    • setSubType

      public void setSubType(String subType)
      Parameters:
      subType - the subType to set
    • getClassName

      public String getClassName()
      Returns:
      the className
    • setClassName

      public void setClassName(String className)
      Parameters:
      className - the className to set
    • getParams

      public Collection<MetaParameter> getParams()
      Obtains the Collection of meta-parameters.
      Returns:
      the Collection of MetaParameter.
    • setParams

      public void setParams(Collection<MetaParameter> parameters)
      Sets the Collection of meta-parameters.
      Parameters:
      parameters - the Collection of MetaParameter.
    • addParam

      public void addParam(MetaParameter metaParam)
      Adds a meta-parameter to the Collection.
      Parameters:
      metaParam - the MetaParameter to be added.
    • addParams

      public void addParams(Collection<MetaParameter> metaParams)
      Adds a collections of meta-parameters to the Collection.
      Parameters:
      metaParams - the Collection of MetaParameter to be added.
    • getParam

      public MetaParameter getParam(String paramName)
    • getDefaultConfiguration

      public ParameterStructure getDefaultConfiguration()
      Returns:
      the default configuration, if any
    • setDefaultConfiguration

      public void setDefaultConfiguration(ParameterStructure defaultConfig)
      Parameters:
      defaultConfig - the default configuration to set
    • toString

      public String toString()
      Overrides:
      toString in class Object