Class IdentifierBuilder
- java.lang.Object
-
- org.palladiosimulator.metricspec.util.builder.IdentifierBuilder
-
- All Implemented Interfaces:
IMetricspecBuilder<Identifier>
public class IdentifierBuilder extends Object implements IMetricspecBuilder<Identifier>
A builder for the model object ' org.palladiosimulator.metricspec.Identifier'.- Generated class or method.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Identifier
build()
This method constructs the final org.palladiosimulator.metricspec.Identifier type.IdentifierBuilder
but()
This method can be used to override attributes of the builder.IdentifierBuilder
id(String p_id)
IdentifierBuilder
literal(String p_literal)
static IdentifierBuilder
newIdentifierBuilder()
This method creates a new instance of the IdentifierBuilder.static IdentifierBuilder
newIdentifierBuilder(Identifier p_identifier)
This method creates a new instance of the IdentifierBuilder.IdentifierBuilder
textualBaseMetricDescription(TextualBaseMetricDescription p_textualBaseMetricDescription)
IdentifierBuilder
textualBaseMetricDescription(IMetricspecBuilder<? extends TextualBaseMetricDescription> p_textualBaseMetricDescriptionBuilder)
-
-
-
Method Detail
-
newIdentifierBuilder
public static IdentifierBuilder newIdentifierBuilder()
This method creates a new instance of the IdentifierBuilder.- Returns:
- new instance of the IdentifierBuilder
-
newIdentifierBuilder
public static IdentifierBuilder newIdentifierBuilder(Identifier p_identifier)
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()
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()
This method constructs the final org.palladiosimulator.metricspec.Identifier type.- Specified by:
build
in interfaceIMetricspecBuilder<Identifier>
- Returns:
- new instance of the org.palladiosimulator.metricspec.Identifier type
-
id
public IdentifierBuilder id(String p_id)
-
literal
public IdentifierBuilder literal(String p_literal)
-
textualBaseMetricDescription
public IdentifierBuilder textualBaseMetricDescription(TextualBaseMetricDescription p_textualBaseMetricDescription)
-
textualBaseMetricDescription
public IdentifierBuilder textualBaseMetricDescription(IMetricspecBuilder<? extends TextualBaseMetricDescription> p_textualBaseMetricDescriptionBuilder)
-
-