Class Configuration

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

public class Configuration extends Object implements Serializable
Encapsulates the configuration of a specific Custom Element.
See Also:
  • Field Details

    • serialVersionUID

      protected static final long serialVersionUID
      For interoperability with possible future changes.
      See Also:
  • Constructor Details

  • Method Details

    • getId

      public int getId()
      Returns:
      the id
    • 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
    • isDraft

      public boolean isDraft()
      Returns:
      the draft
    • setDraft

      public void setDraft(boolean draft)
      Parameters:
      draft - the draft to set
    • isDisabled

      public boolean isDisabled()
      Returns:
      the disabled
    • setDisabled

      public void setDisabled(boolean disabled)
      Parameters:
      disabled - the disabled to set
    • getName

      public String getName()
      Fast method to retrieve the value of the parameter name of this element. If the configuration parameters do not contain the parameter name this method returns a name of the form 'type_identifier'.
      Returns:
      the value of the parameter name if exists; 'type_identifier', otherwise.
    • getNameFromConfiguration

      public String getNameFromConfiguration()
      Fast method to retrieve the value of the parameter name of this element. If the configuration parameters do not contain the parameter name this method returns null.
      Returns:
      the value of the parameter name if exists; null, otherwise.
    • getUniqueName

      public String getUniqueName()
      Retrieves the value of the parameter name of this element appending its identifier: 'name_identifier'. If the configuration parameters do not contain the parameter name this method returns a name of the form 'type_identifier'.
      Returns:
      'name_identifier' if the value of the parameter name exists; 'type_identifier', otherwise.
    • getParameters

      public ParameterStructure getParameters()
      Obtains the of parameters.
      Returns:
      the ParameterStructure.
    • setParameters

      public void setParameters(ParameterStructure parameters)
      Sets the parameters.
      Parameters:
      parameters - the ParameterStructure.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object