Class IdentifierBuilder

java.lang.Object
org.palladiosimulator.metricspec.util.builder.IdentifierBuilder
All Implemented Interfaces:
IMetricspecBuilder<Identifier>

@Deprecated(forRemoval=true) public class IdentifierBuilder extends Object implements IMetricspecBuilder<Identifier>
Deprecated, for removal: This API element is subject to removal in a future version.
A builder for the model object ' org.palladiosimulator.metricspec.Identifier'.
Generated class or method.
  • Method Details

    • newIdentifierBuilder

      public static IdentifierBuilder newIdentifierBuilder()
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method creates a new instance of the IdentifierBuilder.
      Returns:
      new instance of the IdentifierBuilder
    • newIdentifierBuilder

      public static IdentifierBuilder newIdentifierBuilder(Identifier p_identifier)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method creates a new instance of the IdentifierBuilder. The builder is initialized using an existing 'org.palladiosimulator.metricspec.Identifier' model object. In order to avoid changes to the provided ' org.palladiosimulator.metricspec.Identifier' model object, a copy is created using org.eclipse.emf.ecore.util.EcoreUtil.Copier.
      Parameters:
      identifier - The existing 'org.palladiosimulator.metricspec.Identifier' model object to be used for the initialization of the builder
      Returns:
      new initialized instance of the IdentifierBuilder
    • but

      public IdentifierBuilder but()
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method can be used to override attributes of the builder. It constructs a new builder and copies the current values to it.
    • build

      public Identifier build()
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method constructs the final org.palladiosimulator.metricspec.Identifier type.
      Specified by:
      build in interface IMetricspecBuilder<Identifier>
      Returns:
      new instance of the org.palladiosimulator.metricspec.Identifier type
    • id

      public IdentifierBuilder id(String p_id)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • literal

      public IdentifierBuilder literal(String p_literal)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • textualBaseMetricDescription

      public IdentifierBuilder textualBaseMetricDescription(TextualBaseMetricDescription p_textualBaseMetricDescription)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • textualBaseMetricDescription

      public IdentifierBuilder textualBaseMetricDescription(IMetricspecBuilder<? extends TextualBaseMetricDescription> p_textualBaseMetricDescriptionBuilder)
      Deprecated, for removal: This API element is subject to removal in a future version.