Class MetricDescriptionRepositoryBuilder
- java.lang.Object
-
- org.palladiosimulator.metricspec.util.builder.MetricDescriptionRepositoryBuilder
-
- All Implemented Interfaces:
IMetricspecBuilder<MetricDescriptionRepository>
public class MetricDescriptionRepositoryBuilder extends Object implements IMetricspecBuilder<MetricDescriptionRepository>
A builder for the model object ' org.palladiosimulator.metricspec.MetricDescriptionRepository'.- Generated class or method.
-
-
Method Summary
-
-
-
Method Detail
-
newMetricDescriptionRepositoryBuilder
public static MetricDescriptionRepositoryBuilder newMetricDescriptionRepositoryBuilder()
This method creates a new instance of the MetricDescriptionRepositoryBuilder.- Returns:
- new instance of the MetricDescriptionRepositoryBuilder
-
newMetricDescriptionRepositoryBuilder
public static MetricDescriptionRepositoryBuilder newMetricDescriptionRepositoryBuilder(MetricDescriptionRepository p_metricDescriptionRepository)
This method creates a new instance of the MetricDescriptionRepositoryBuilder. The builder is initialized using an existing ' org.palladiosimulator.metricspec.MetricDescriptionRepository' model object. In order to avoid changes to the provided ' org.palladiosimulator.metricspec.MetricDescriptionRepository' model object, a copy is created using org.eclipse.emf.ecore.util.EcoreUtil.Copier.- Parameters:
metricDescriptionRepository
- The existing ' org.palladiosimulator.metricspec.MetricDescriptionRepository' model object to be used for the initialization of the builder- Returns:
- new initialized instance of the MetricDescriptionRepositoryBuilder
-
but
public MetricDescriptionRepositoryBuilder 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 MetricDescriptionRepository build()
This method constructs the final org.palladiosimulator.metricspec.MetricDescriptionRepository type.- Specified by:
build
in interfaceIMetricspecBuilder<MetricDescriptionRepository>
- Returns:
- new instance of the org.palladiosimulator.metricspec.MetricDescriptionRepository type
-
id
public MetricDescriptionRepositoryBuilder id(String p_id)
-
metricDescriptions
public MetricDescriptionRepositoryBuilder metricDescriptions(MetricDescription p_metricDescriptions)
-
metricDescriptions
public MetricDescriptionRepositoryBuilder metricDescriptions(Collection<? extends MetricDescription> p_metricDescriptions)
-
metricDescriptions
public MetricDescriptionRepositoryBuilder metricDescriptions(IMetricspecBuilder<? extends MetricDescription> p_metricDescriptionBuilder)
-
-