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