Class Subclassifications
java.lang.Object
com.dassault_systemes.modeler.kerml.model.Subclassifications
Utility class to work with
Subclassification-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetSuperClassifier(Classifier subClassifier, Classifier superClassifier) Sets the super classifier for the given subclassifier.static voidsetSuperClassifier(Classifier subClassifier, List<Classifier> superClassifier) Sets the list of super classifiers for the given subclassifier.
-
Constructor Details
-
Subclassifications
public Subclassifications()
-
-
Method Details
-
setSuperClassifier
public static void setSuperClassifier(Classifier subClassifier, @CheckForNull Classifier superClassifier) Sets the super classifier for the given subclassifier. If the provided super classifier is null, the relationship is cleared.- Parameters:
subClassifier- the classifier that will have a super classifiersuperClassifier- the classifier to set as the super classifier (may be null)
-
setSuperClassifier
Sets the list of super classifiers for the given subclassifier. Existing non‑implied subclassification relationships are replaced.- Parameters:
subClassifier- the classifier that will have super classifierssuperClassifier- list of classifiers to set as super classifiers
-