|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.instance.model.InstanceUtil
public final class InstanceUtil
Instance utility functions.
Method Summary | |
---|---|
static Collection<Instance> |
getInstanceOutOfFamily(FamilyInstance fi)
Creates a list of instances out of a FamilyInstance |
static boolean |
groupEqual(Group a,
Group b,
boolean propertyOrderRelevant)
Checks whether the two given groups equal each other. |
static String |
groupToString(Group group)
Returns a string representation of the given group. |
static boolean |
instanceEqual(Instance a,
Instance b,
boolean propertyOrderRelevant)
Checks whether the two given instances equal each other disregarding their data set. |
static String |
instanceToString(Instance instance)
Returns a string representation of the given instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean instanceEqual(Instance a, Instance b, boolean propertyOrderRelevant)
a
- the first instanceb
- the second instancepropertyOrderRelevant
- whether the order of properties of the same
name is relevant or not
public static boolean groupEqual(Group a, Group b, boolean propertyOrderRelevant)
a
- the first groupb
- the second grouppropertyOrderRelevant
- whether the order of properties of the same
name is relevant or not
public static String instanceToString(Instance instance)
instance
- the instance
public static String groupToString(Group group)
group
- the group
public static Collection<Instance> getInstanceOutOfFamily(FamilyInstance fi)
fi
- the FamilyInstance
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |