Class Subclassifications

java.lang.Object
com.dassault_systemes.modeler.kerml.model.Subclassifications

@OpenApiAll public class Subclassifications extends Object
Utility class to work with Subclassification
  • 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 classifier
      superClassifier - the classifier to set as the super classifier (may be null)
    • setSuperClassifier

      public static void setSuperClassifier(Classifier subClassifier, List<Classifier> superClassifier)
      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 classifiers
      superClassifier - list of classifiers to set as super classifiers