Class TextualBaseMetricDescriptionBuilder
- java.lang.Object
-
- org.palladiosimulator.metricspec.util.builder.TextualBaseMetricDescriptionBuilder
-
- All Implemented Interfaces:
IMetricspecBuilder<TextualBaseMetricDescription>
public class TextualBaseMetricDescriptionBuilder extends Object implements IMetricspecBuilder<TextualBaseMetricDescription>
A builder for the model object ' org.palladiosimulator.metricspec.TextualBaseMetricDescription'.- Generated class or method.
-
-
Method Summary
-
-
-
Method Detail
-
newTextualBaseMetricDescriptionBuilder
public static TextualBaseMetricDescriptionBuilder newTextualBaseMetricDescriptionBuilder()
This method creates a new instance of the TextualBaseMetricDescriptionBuilder.- Returns:
- new instance of the TextualBaseMetricDescriptionBuilder
-
newTextualBaseMetricDescriptionBuilder
public static TextualBaseMetricDescriptionBuilder newTextualBaseMetricDescriptionBuilder(TextualBaseMetricDescription p_textualBaseMetricDescription)
This method creates a new instance of the TextualBaseMetricDescriptionBuilder. The builder is initialized using an existing ' org.palladiosimulator.metricspec.TextualBaseMetricDescription' model object. In order to avoid changes to the provided ' org.palladiosimulator.metricspec.TextualBaseMetricDescription' model object, a copy is created using org.eclipse.emf.ecore.util.EcoreUtil.Copier.- Parameters:
textualBaseMetricDescription
- The existing ' org.palladiosimulator.metricspec.TextualBaseMetricDescription' model object to be used for the initialization of the builder- Returns:
- new initialized instance of the TextualBaseMetricDescriptionBuilder
-
but
public TextualBaseMetricDescriptionBuilder 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 TextualBaseMetricDescription build()
This method constructs the final org.palladiosimulator.metricspec.TextualBaseMetricDescription type.- Specified by:
build
in interfaceIMetricspecBuilder<TextualBaseMetricDescription>
- Returns:
- new instance of the org.palladiosimulator.metricspec.TextualBaseMetricDescription type
-
captureType
public TextualBaseMetricDescriptionBuilder captureType(CaptureType p_captureType)
-
dataType
public TextualBaseMetricDescriptionBuilder dataType(DataType p_dataType)
-
id
public TextualBaseMetricDescriptionBuilder id(String p_id)
-
name
public TextualBaseMetricDescriptionBuilder name(String p_name)
-
repository
public TextualBaseMetricDescriptionBuilder repository(MetricDescriptionRepository p_repository)
-
repository
public TextualBaseMetricDescriptionBuilder repository(IMetricspecBuilder<? extends MetricDescriptionRepository> p_metricDescriptionRepositoryBuilder)
-
scale
public TextualBaseMetricDescriptionBuilder scale(Scale p_scale)
-
textualDescription
public TextualBaseMetricDescriptionBuilder textualDescription(String p_textualDescription)
-
identifiers
public TextualBaseMetricDescriptionBuilder identifiers(Identifier p_identifiers)
-
identifiers
public TextualBaseMetricDescriptionBuilder identifiers(Collection<? extends Identifier> p_identifiers)
-
identifiers
public TextualBaseMetricDescriptionBuilder identifiers(IMetricspecBuilder<? extends Identifier> p_identifierBuilder)
-
-