| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="de"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_191) on Mon Apr 29 15:55:54 CEST 2019 --> |
| <title>FactoryUtil</title> |
| <meta name="date" content="2019-04-29"> |
| <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.app4mc.amalthea.model.util</div> |
| <h2 title="Class FactoryUtil" class="title">Class FactoryUtil</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>FactoryUtil</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">FactoryUtil</span> |
| extends Object</pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="#FactoryUtil--">FactoryUtil</a></span>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static DataRate</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createDataRate--">createDataRate</a></span>()</code> |
| <div class="block">Creates a data rate (initialized with zero value and base unit)</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static DataRate</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createDataRate-long-org.eclipse.app4mc.amalthea.model.DataRateUnit-">createDataRate</a></span>(long value, |
| DataRateUnit unit)</code> |
| <div class="block">Creates a data rate out of a value and a unit</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static DataSize</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createDataSize--">createDataSize</a></span>()</code> |
| <div class="block">Creates a data size (initialized with zero value and base unit)</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static DataSize</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createDataSize-long-org.eclipse.app4mc.amalthea.model.DataSizeUnit-">createDataSize</a></span>(long value, |
| DataSizeUnit unit)</code> |
| <div class="block">Creates a data size out of a value and a unit</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static DiscreteValueBoundaries</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createDiscreteValueBoundaries-long-long-">createDiscreteValueBoundaries</a></span>(long min, |
| long max)</code> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static DiscreteValueConstant</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createDiscreteValueConstant-long-">createDiscreteValueConstant</a></span>(long value)</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static DiscreteValueGaussDistribution</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createDiscreteValueGaussDistribution-double-double-">createDiscreteValueGaussDistribution</a></span>(double mean, |
| double sd)</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static DiscreteValueGaussDistribution</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createDiscreteValueGaussDistribution-double-double-java.lang.Long-java.lang.Long-">createDiscreteValueGaussDistribution</a></span>(double mean, |
| double sd, |
| Long min, |
| Long max)</code> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static ExecutionNeed</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createExecutionNeed-org.eclipse.app4mc.amalthea.model.HwFeature-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-">createExecutionNeed</a></span>(HwFeature feature, |
| IDiscreteValueDeviation usages)</code> |
| <div class="block">Creates ExecutionNeed for a feature, need set.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static ExecutionNeed</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createExecutionNeed-java.lang.String-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-">createExecutionNeed</a></span>(String featureCategory, |
| IDiscreteValueDeviation usages)</code> |
| <div class="block">Creates ExecutionNeed for a featureCategoryName, need set.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static Frequency</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createFrequency--">createFrequency</a></span>()</code> |
| <div class="block">Creates a frequency (initialized with zero value and base unit)</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static Frequency</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createFrequency-double-org.eclipse.app4mc.amalthea.model.FrequencyUnit-">createFrequency</a></span>(double value, |
| FrequencyUnit unit)</code> |
| <div class="block">Creates a frequency out of a value and a unit</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static DiscreteValueConstant</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createLatency-long-">createLatency</a></span>(long value)</code> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createTime--">createTime</a></span>()</code> |
| <div class="block">Creates a time (initialized with zero value and base unit)</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createTime-java.math.BigInteger-java.lang.String-">createTime</a></span>(BigInteger value, |
| String unit)</code> |
| <div class="block">Creates a time out of a value and a unit given as String.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createTime-java.math.BigInteger-org.eclipse.app4mc.amalthea.model.TimeUnit-">createTime</a></span>(BigInteger value, |
| TimeUnit unit)</code> |
| <div class="block">Creates a time out of a value and a unit</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createTime-long-java.lang.String-">createTime</a></span>(long value, |
| String unit)</code> |
| <div class="block">Creates a time out of a value and a unit given as String.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createTime-long-org.eclipse.app4mc.amalthea.model.TimeUnit-">createTime</a></span>(long value, |
| TimeUnit unit)</code> |
| <div class="block">Creates a time out of a value and a unit</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createTime-java.lang.String-">createTime</a></span>(String timeString)</code> |
| <div class="block">Creates a Time object parsed from a text representation.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createTime-org.eclipse.app4mc.amalthea.model.Time-">createTime</a></span>(Time inputTime)</code> |
| <div class="block">Creates a new time based on a time</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>static TypeRef</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createTypeRef-org.eclipse.app4mc.amalthea.model.TypeDefinition-">createTypeRef</a></span>(TypeDefinition typeDefinition)</code> |
| <div class="block">Creates a TypeRef object that refers to a type definition</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>static Voltage</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createVoltage--">createVoltage</a></span>()</code> |
| <div class="block">Creates a voltage (initialized with zero value and base unit)</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>static Voltage</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createVoltage-double-org.eclipse.app4mc.amalthea.model.VoltageUnit-">createVoltage</a></span>(double value, |
| VoltageUnit unit)</code> |
| <div class="block">Creates a voltage out of a value and a unit</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>static DiscreteValueWeibullEstimatorsDistribution</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#createWeibullDistribution-long-double-long-double-">createWeibullDistribution</a></span>(long min, |
| double avg, |
| long max, |
| double promille)</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class Object</h3> |
| <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="FactoryUtil--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>FactoryUtil</h4> |
| <pre>public FactoryUtil()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="createDataSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDataSize</h4> |
| <pre>public static DataSize createDataSize()</pre> |
| <div class="block">Creates a data size (initialized with zero value and base unit)</div> |
| </li> |
| </ul> |
| <a name="createDataSize-long-org.eclipse.app4mc.amalthea.model.DataSizeUnit-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDataSize</h4> |
| <pre>public static DataSize createDataSize(long value, |
| DataSizeUnit unit)</pre> |
| <div class="block">Creates a data size out of a value and a unit</div> |
| </li> |
| </ul> |
| <a name="createDataRate--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDataRate</h4> |
| <pre>public static DataRate createDataRate()</pre> |
| <div class="block">Creates a data rate (initialized with zero value and base unit)</div> |
| </li> |
| </ul> |
| <a name="createDataRate-long-org.eclipse.app4mc.amalthea.model.DataRateUnit-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDataRate</h4> |
| <pre>public static DataRate createDataRate(long value, |
| DataRateUnit unit)</pre> |
| <div class="block">Creates a data rate out of a value and a unit</div> |
| </li> |
| </ul> |
| <a name="createFrequency--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFrequency</h4> |
| <pre>public static Frequency createFrequency()</pre> |
| <div class="block">Creates a frequency (initialized with zero value and base unit)</div> |
| </li> |
| </ul> |
| <a name="createFrequency-double-org.eclipse.app4mc.amalthea.model.FrequencyUnit-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFrequency</h4> |
| <pre>public static Frequency createFrequency(double value, |
| FrequencyUnit unit)</pre> |
| <div class="block">Creates a frequency out of a value and a unit</div> |
| </li> |
| </ul> |
| <a name="createVoltage--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createVoltage</h4> |
| <pre>public static Voltage createVoltage()</pre> |
| <div class="block">Creates a voltage (initialized with zero value and base unit)</div> |
| </li> |
| </ul> |
| <a name="createVoltage-double-org.eclipse.app4mc.amalthea.model.VoltageUnit-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createVoltage</h4> |
| <pre>public static Voltage createVoltage(double value, |
| VoltageUnit unit)</pre> |
| <div class="block">Creates a voltage out of a value and a unit</div> |
| </li> |
| </ul> |
| <a name="createTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTime</h4> |
| <pre>public static Time createTime()</pre> |
| <div class="block">Creates a time (initialized with zero value and base unit)</div> |
| </li> |
| </ul> |
| <a name="createTime-org.eclipse.app4mc.amalthea.model.Time-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTime</h4> |
| <pre>public static Time createTime(Time inputTime)</pre> |
| <div class="block">Creates a new time based on a time</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>inputTime</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New time object</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createTime-long-org.eclipse.app4mc.amalthea.model.TimeUnit-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTime</h4> |
| <pre>public static Time createTime(long value, |
| TimeUnit unit)</pre> |
| <div class="block">Creates a time out of a value and a unit</div> |
| </li> |
| </ul> |
| <a name="createTime-java.math.BigInteger-org.eclipse.app4mc.amalthea.model.TimeUnit-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTime</h4> |
| <pre>public static Time createTime(BigInteger value, |
| TimeUnit unit)</pre> |
| <div class="block">Creates a time out of a value and a unit</div> |
| </li> |
| </ul> |
| <a name="createTime-long-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTime</h4> |
| <pre>public static Time createTime(long value, |
| String unit)</pre> |
| <div class="block">Creates a time out of a value and a unit given as String.</div> |
| </li> |
| </ul> |
| <a name="createTime-java.math.BigInteger-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTime</h4> |
| <pre>public static Time createTime(BigInteger value, |
| String unit)</pre> |
| <div class="block">Creates a time out of a value and a unit given as String.</div> |
| </li> |
| </ul> |
| <a name="createTime-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTime</h4> |
| <pre>public static Time createTime(String timeString)</pre> |
| <div class="block">Creates a Time object parsed from a text representation.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>timeString</code> - string representation of a time (number followed by time unit s, ms, us, ns or ps)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The new Time object</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createTypeRef-org.eclipse.app4mc.amalthea.model.TypeDefinition-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTypeRef</h4> |
| <pre>public static TypeRef createTypeRef(TypeDefinition typeDefinition)</pre> |
| <div class="block">Creates a TypeRef object that refers to a type definition</div> |
| </li> |
| </ul> |
| <a name="createDiscreteValueConstant-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDiscreteValueConstant</h4> |
| <pre>public static DiscreteValueConstant createDiscreteValueConstant(long value)</pre> |
| </li> |
| </ul> |
| <a name="createDiscreteValueBoundaries-long-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDiscreteValueBoundaries</h4> |
| <pre>public static DiscreteValueBoundaries createDiscreteValueBoundaries(long min, |
| long max)</pre> |
| </li> |
| </ul> |
| <a name="createDiscreteValueGaussDistribution-double-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDiscreteValueGaussDistribution</h4> |
| <pre>public static DiscreteValueGaussDistribution createDiscreteValueGaussDistribution(double mean, |
| double sd)</pre> |
| </li> |
| </ul> |
| <a name="createDiscreteValueGaussDistribution-double-double-java.lang.Long-java.lang.Long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDiscreteValueGaussDistribution</h4> |
| <pre>public static DiscreteValueGaussDistribution createDiscreteValueGaussDistribution(double mean, |
| double sd, |
| Long min, |
| Long max)</pre> |
| </li> |
| </ul> |
| <a name="createWeibullDistribution-long-double-long-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createWeibullDistribution</h4> |
| <pre>public static DiscreteValueWeibullEstimatorsDistribution createWeibullDistribution(long min, |
| double avg, |
| long max, |
| double promille)</pre> |
| </li> |
| </ul> |
| <a name="createExecutionNeed-java.lang.String-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createExecutionNeed</h4> |
| <pre>public static ExecutionNeed createExecutionNeed(String featureCategory, |
| IDiscreteValueDeviation usages)</pre> |
| <div class="block">Creates ExecutionNeed for a featureCategoryName, need set.</div> |
| </li> |
| </ul> |
| <a name="createExecutionNeed-org.eclipse.app4mc.amalthea.model.HwFeature-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createExecutionNeed</h4> |
| <pre>public static ExecutionNeed createExecutionNeed(HwFeature feature, |
| IDiscreteValueDeviation usages)</pre> |
| <div class="block">Creates ExecutionNeed for a feature, need set.</div> |
| </li> |
| </ul> |
| <a name="createLatency-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>createLatency</h4> |
| <pre>public static DiscreteValueConstant createLatency(long value)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </body> |
| </html> |