Class AMTools
- java.lang.Object
-
- de.aristaflow.adept2.model.activitymodel.AMTools
-
public final class AMTools extends Object
Utility functions concerning the activity model.- Author:
- Patrick Schmidt
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEqual(Identifier id1, Identifier id2)
Compares twoIdentifier
s for functional equality, i.e. ignoring their state and revision.static boolean
areEqual(StorageActivityTemplateDefinition atd1, StorageActivityTemplateDefinition atd2)
Compares twoStorageActivityTemplateDefinition
s for functional equality, i.e. ignoring their ID, state and revision.static boolean
areEqual(StorageConfigurationSet cs1, StorageConfigurationSet cs2)
Compares twoStorageConfigurationSet
s for functional equality, i.e.static boolean
areEqual(StorageExecutableComponentDescription ecd1, StorageExecutableComponentDescription ecd2)
Compares twoStorageExecutableComponentDescription
s for functional equality, i.e. ignoring their state and revision.static boolean
areEqual(StorageOperation op1, StorageOperation op2)
Compares twoStorageOperation
s for functional equality, i.e.static boolean
areEqual(IconDescriptor icon1, IconDescriptor icon2)
static boolean
areEqual(ResourceDescriptor res1, ResourceDescriptor res2)
-
-
-
Method Detail
-
areEqual
public static boolean areEqual(StorageExecutableComponentDescription ecd1, StorageExecutableComponentDescription ecd2)
Compares twoStorageExecutableComponentDescription
s for functional equality, i.e. ignoring their state and revision.- Parameters:
ecd1
-ecd2
-- Returns:
- whether the two ECDs are functionally equal
-
areEqual
public static boolean areEqual(StorageOperation op1, StorageOperation op2)
Compares twoStorageOperation
s for functional equality, i.e. ignoring their state and revision.- Parameters:
op1
-op2
-- Returns:
- whether the two operations are functionally equal
-
areEqual
public static boolean areEqual(StorageConfigurationSet cs1, StorageConfigurationSet cs2)
Compares twoStorageConfigurationSet
s for functional equality, i.e. ignoring their state and revision.- Parameters:
cs1
-cs2
-- Returns:
- whether the two configuration sets are functionally equal
-
areEqual
public static boolean areEqual(StorageActivityTemplateDefinition atd1, StorageActivityTemplateDefinition atd2)
Compares twoStorageActivityTemplateDefinition
s for functional equality, i.e. ignoring their ID, state and revision.- Parameters:
atd1
-atd2
-- Returns:
- whether the two ATDs are functionally equal
-
areEqual
public static boolean areEqual(Identifier id1, Identifier id2)
Compares twoIdentifier
s for functional equality, i.e. ignoring their state and revision.- Parameters:
id1
-id2
-- Returns:
- whether the two Identifiers are functionally equal
-
areEqual
public static boolean areEqual(ResourceDescriptor res1, ResourceDescriptor res2)
-
areEqual
public static boolean areEqual(IconDescriptor icon1, IconDescriptor icon2)
-
-