Class Transformation
- java.lang.Object
- 
- de.aristaflow.ilm.model.resourcemodel.Transformation
 
- 
 public class Transformation extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Transformation()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static <B extends de.aristaflow.adept2.model.resourcemodel.builder.ProcessStartRefBuilder>
 BfillProcessStartRef(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, ProcessStartRef psr, B builder)protected static <B extends de.aristaflow.adept2.model.resourcemodel.builder.TimeTriggerBuilder>
 BfillTimeTrigger(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, TimeTrigger tt, B builder)protected static <T extends UDTValue,I extends UdtValue>
 IfillUdt(T udt, I ret)static UDTValuefromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, UdtValue udt)protected static de.aristaflow.adept2.model.resourcemodel.AttributefromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, Attribute attr)Deprecated, for removal: This API element is subject to removal in a future version.Use#fromIlm(ResourceModelFactory, Atribute, Logger)instead.protected static de.aristaflow.adept2.model.resourcemodel.AttributefromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, Attribute attr, Logger logger)protected static de.aristaflow.adept2.model.resourcemodel.IdentifiedUdtValuefromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, IdentifiedUdtValue udt)static de.aristaflow.adept2.model.resourcemodel.ResourcefromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, Resource res)Deprecated, for removal: This API element is subject to removal in a future version.UsefromIlm(ResourceModelFactory, Resource, Logger)instead.static de.aristaflow.adept2.model.resourcemodel.ResourcefromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, Resource res, Logger logger)protected static TemporalAmountfromIlm(String duration)static UdtValuetoIlm(UDTValue udt)protected static AttributetoIlm(de.aristaflow.adept2.model.resourcemodel.Attribute a)static IdentifiedUdtValuetoIlm(de.aristaflow.adept2.model.resourcemodel.IdentifiedUdtValue udt)static ResourcetoIlm(de.aristaflow.adept2.model.resourcemodel.Resource res)Deprecated, for removal: This API element is subject to removal in a future version.static ResourceInstancetoIlm(de.aristaflow.adept2.model.resourcemodel.ResourceInstance res)Deprecated, for removal: This API element is subject to removal in a future version.static ResourceInstancetoIlm(de.aristaflow.adept2.model.resourcemodel.ResourceInstance res, Logger logger)static ResourcetoIlm(de.aristaflow.adept2.model.resourcemodel.Resource res, Logger logger)static IdentifiedUdtValuetoIlm(String udtRef, String udtName)protected static <T extends de.aristaflow.adept2.model.resourcemodel.Attribute,I extends Attribute>
 ItoIlm(T a, Supplier<I> create, BiConsumer<T,I> transformation)Creates a new attribute using the designated constructor/create supplier and transforms the designatedAttributefrom the Java model to ILM.
 
- 
- 
- 
Method Detail- 
fromIlm@Deprecated(since="15.0.0", forRemoval=true) public static de.aristaflow.adept2.model.resourcemodel.Resource fromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, Resource res) Deprecated, for removal: This API element is subject to removal in a future version.UsefromIlm(ResourceModelFactory, Resource, Logger)instead.- Throws:
- IllegalArgumentException- If the class of an attribute of the designated resource is invalid, an essential property is not set for an attribute, a number value cannot be parsed properly, an attribute name occurs twice in an attribute list, or the inner type class of an attribute list does not refer to an existing attribute class, an- IllegalArgumentExceptionwill be thrown.
 
 - 
fromIlmpublic static de.aristaflow.adept2.model.resourcemodel.Resource fromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, Resource res, Logger logger)- Throws:
- IllegalArgumentException- If the class of an attribute of the designated resource is invalid, an essential property is not set for an attribute, a number value cannot be parsed properly, an attribute name occurs twice in an attribute list, or the inner type class of an attribute list does not refer to an existing attribute class, an- IllegalArgumentExceptionwill be thrown.
 
 - 
fromIlmpublic static UDTValue fromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, UdtValue udt) throws IOException - Throws:
- IOException
 
 - 
fromIlmprotected static de.aristaflow.adept2.model.resourcemodel.IdentifiedUdtValue fromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, IdentifiedUdtValue udt) throws IOException- Throws:
- IOException
 
 - 
fromIlm@Deprecated(since="15.0.0", forRemoval=true) protected static de.aristaflow.adept2.model.resourcemodel.Attribute fromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, Attribute attr) Deprecated, for removal: This API element is subject to removal in a future version.Use#fromIlm(ResourceModelFactory, Atribute, Logger)instead.- Throws:
- IllegalArgumentException- If the class of the designated attribute is invalid, an essential property is not set for the designated attribute, a number value cannot be parsed properly, an attribute name occurs twice in an attribute list, or the inner type class of an attribute list does not refer to an existing attribute class, an- IllegalArgumentExceptionwill be thrown.
 
 - 
fromIlmprotected static de.aristaflow.adept2.model.resourcemodel.Attribute fromIlm(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, Attribute attr, Logger logger)- Throws:
- IllegalArgumentException- If the class of the designated attribute is invalid, an essential property is not set for the designated attribute, a number value cannot be parsed properly, an attribute name occurs twice in an attribute list, or the inner type class of an attribute list does not refer to an existing attribute class, an- IllegalArgumentExceptionwill be thrown.
 
 - 
fillProcessStartRefprotected static <B extends de.aristaflow.adept2.model.resourcemodel.builder.ProcessStartRefBuilder> B fillProcessStartRef(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, ProcessStartRef psr, B builder)
 - 
fillTimeTriggerprotected static <B extends de.aristaflow.adept2.model.resourcemodel.builder.TimeTriggerBuilder> B fillTimeTrigger(de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf, TimeTrigger tt, B builder)
 - 
fromIlmprotected static TemporalAmount fromIlm(String duration) 
 - 
toIlm@Deprecated(since="15.0.0", forRemoval=true) public static Resource toIlm(de.aristaflow.adept2.model.resourcemodel.Resource res) Deprecated, for removal: This API element is subject to removal in a future version.
 - 
toIlmpublic static Resource toIlm(de.aristaflow.adept2.model.resourcemodel.Resource res, Logger logger) 
 - 
toIlmpublic static UdtValue toIlm(UDTValue udt) throws IOException - Throws:
- IOException
 
 - 
toIlmpublic static IdentifiedUdtValue toIlm(String udtRef, String udtName) 
 - 
toIlmpublic static IdentifiedUdtValue toIlm(de.aristaflow.adept2.model.resourcemodel.IdentifiedUdtValue udt) throws IOException - Throws:
- IOException
 
 - 
fillUdtprotected static <T extends UDTValue,I extends UdtValue> I fillUdt(T udt, I ret) throws IOException - Throws:
- IOException
 
 - 
toIlm@Deprecated(since="15.0.0", forRemoval=true) public static ResourceInstance toIlm(de.aristaflow.adept2.model.resourcemodel.ResourceInstance res) Deprecated, for removal: This API element is subject to removal in a future version.
 - 
toIlmpublic static ResourceInstance toIlm(de.aristaflow.adept2.model.resourcemodel.ResourceInstance res, Logger logger) 
 - 
toIlmprotected static Attribute toIlm(de.aristaflow.adept2.model.resourcemodel.Attribute a) 
 - 
toIlmprotected static <T extends de.aristaflow.adept2.model.resourcemodel.Attribute,I extends Attribute> I toIlm(T a, Supplier<I> create, BiConsumer<T,I> transformation) Creates a new attribute using the designated constructor/create supplier and transforms the designatedAttributefrom the Java model to ILM.- Type Parameters:
- T- The- Attributetype from the Java model.
- I- The- Attributetype in the ILM.
- Parameters:
- a- The- Attributewhich to transform to ILM.
- create- The (constructor) method for creating a new ILM- Attribute.
- transformation- The transformation from the designated- Attributeto the ILM- Attribute.
- Returns:
- The ILM Attribute.
 
 
- 
 
-