Package org.ivoa.vodml.nav
Class Util
- java.lang.Object
-
- org.ivoa.vodml.nav.Util
-
public class Util extends java.lang.ObjectUtility functions for navigating VODML models.- Since:
- 30 Aug 2021
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends ObjectCopier<T>>
java.util.List<? extends T>cloneList(java.util.List<? extends T> l)static voidfindReferences(java.lang.Object modelInstance, java.util.Map<java.lang.Class,java.util.Set> l)Will find all the references referred to by the vodml-ref in the key of the map and add them to the corresponding set that is the value of the mapstatic java.util.List<XmlIdManagement>findXmlIDs(java.util.List<java.lang.Object> modelInstance)static voidmakeUniqueIDs(java.util.List<? extends XmlIdManagement> els)
-
-
-
Method Detail
-
findReferences
public static void findReferences(java.lang.Object modelInstance, java.util.Map<java.lang.Class,java.util.Set> l)Will find all the references referred to by the vodml-ref in the key of the map and add them to the corresponding set that is the value of the map- Parameters:
modelInstance- the vodml model instance to be searched.l- the map of Class -> Set correspondences;
-
findXmlIDs
public static java.util.List<XmlIdManagement> findXmlIDs(java.util.List<java.lang.Object> modelInstance)
-
makeUniqueIDs
public static void makeUniqueIDs(java.util.List<? extends XmlIdManagement> els)
-
cloneList
public static <T extends ObjectCopier<T>> java.util.List<? extends T> cloneList(java.util.List<? extends T> l)
-
-