We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d47bf74 + 915c84e commit d7f8a85Copy full SHA for d7f8a85
sct-commons/src/main/java/org/lfenergy/compas/sct/commons/util/PrivateUtils.java
@@ -153,6 +153,15 @@ public static TPrivate createPrivate(TCompasSystemVersion compasSystemVersion) {
153
return createPrivate(objectFactory.createSystemVersion(compasSystemVersion));
154
}
155
156
+ /**
157
+ * Create Private of given type as parameter
158
+ * @param tCompasLDevice type of Private to create
159
+ * @return created Private
160
+ */
161
+ public static TPrivate createPrivate(TCompasLDevice tCompasLDevice) {
162
+ return createPrivate(objectFactory.createLDevice(tCompasLDevice));
163
+ }
164
+
165
/**
166
* Create a single Private of type COMPAS-Topo
167
* containing all given TCompasTopo
0 commit comments