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
-
-
-
Method Detail
-
newMetricSetDescriptionBuilder
public static MetricSetDescriptionBuilder 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
public 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
public MetricSetDescription 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
public MetricSetDescriptionBuilder id(String p_id)
-
name
public MetricSetDescriptionBuilder name(String p_name)
-
repository
public MetricSetDescriptionBuilder repository(MetricDescriptionRepository p_repository)
-
repository
public MetricSetDescriptionBuilder repository(IMetricspecBuilder<? extends MetricDescriptionRepository> p_metricDescriptionRepositoryBuilder)
-
textualDescription
public MetricSetDescriptionBuilder textualDescription(String p_textualDescription)
-
subsumedMetrics
public MetricSetDescriptionBuilder subsumedMetrics(MetricDescription p_subsumedMetrics)
-
subsumedMetrics
public MetricSetDescriptionBuilder subsumedMetrics(Collection<? extends MetricDescription> p_subsumedMetrics)
-
subsumedMetrics
public MetricSetDescriptionBuilder subsumedMetrics(IMetricspecBuilder<? extends MetricDescription> p_metricDescriptionBuilder)
-
-