Class MetricSetDescriptionBuilder
java.lang.Object
org.palladiosimulator.metricspec.util.builder.MetricSetDescriptionBuilder
- All Implemented Interfaces:
IMetricspecBuilder<MetricSetDescription>
public class MetricSetDescriptionBuilder
extends Object
implements IMetricspecBuilder<MetricSetDescription>
A builder for the model object '
org.palladiosimulator.metricspec.MetricSetDescription'.
- Generated class or method.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
This method constructs the final org.palladiosimulator.metricspec.MetricSetDescription type.but()
This method can be used to override attributes of the builder.static MetricSetDescriptionBuilder
This method creates a new instance of the MetricSetDescriptionBuilder.static MetricSetDescriptionBuilder
newMetricSetDescriptionBuilder
(MetricSetDescription p_metricSetDescription) This method creates a new instance of the MetricSetDescriptionBuilder.repository
(MetricDescriptionRepository p_repository) repository
(IMetricspecBuilder<? extends MetricDescriptionRepository> p_metricDescriptionRepositoryBuilder) subsumedMetrics
(Collection<? extends MetricDescription> p_subsumedMetrics) subsumedMetrics
(MetricDescription p_subsumedMetrics) subsumedMetrics
(IMetricspecBuilder<? extends MetricDescription> p_metricDescriptionBuilder) textualDescription
(String p_textualDescription)
-
Method Details
-
newMetricSetDescriptionBuilder
This method creates a new instance of the MetricSetDescriptionBuilder.- Returns:
- new instance of the MetricSetDescriptionBuilder
-
newMetricSetDescriptionBuilder
public static MetricSetDescriptionBuilder newMetricSetDescriptionBuilder(MetricSetDescription p_metricSetDescription) This method creates a new instance of the MetricSetDescriptionBuilder. The builder is initialized using an existing ' org.palladiosimulator.metricspec.MetricSetDescription' model object. In order to avoid changes to the provided ' org.palladiosimulator.metricspec.MetricSetDescription' model object, a copy is created using org.eclipse.emf.ecore.util.EcoreUtil.Copier.- Parameters:
metricSetDescription
- The existing ' org.palladiosimulator.metricspec.MetricSetDescription' model object to be used for the initialization of the builder- Returns:
- new initialized instance of the MetricSetDescriptionBuilder
-
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
This method constructs the final org.palladiosimulator.metricspec.MetricSetDescription type.- Specified by:
build
in interfaceIMetricspecBuilder<MetricSetDescription>
- Returns:
- new instance of the org.palladiosimulator.metricspec.MetricSetDescription type
-
id
-
name
-
repository
-
repository
public MetricSetDescriptionBuilder repository(IMetricspecBuilder<? extends MetricDescriptionRepository> p_metricDescriptionRepositoryBuilder) -
textualDescription
-
subsumedMetrics
-
subsumedMetrics
public MetricSetDescriptionBuilder subsumedMetrics(Collection<? extends MetricDescription> p_subsumedMetrics) -
subsumedMetrics
public MetricSetDescriptionBuilder subsumedMetrics(IMetricspecBuilder<? extends MetricDescription> p_metricDescriptionBuilder)
-