Interface HasSettableParent

All Known Implementing Classes:
Annotation, Classifier, Concept, Containment, DataType, DynamicNode, Enumeration, EnumerationLiteral, Feature, Field, Interface, Language, LanguageEntity, Link, LionCoreBuiltins, M3Node, PrimitiveType, Property, Reference, StructuredDataType

public interface HasSettableParent
Certain nodes have a parent that can be set. This is typically done for consistency when adding a node into a containment.
  • Method Details

    • setParent

      @Nonnull ClassifierInstance<?> setParent(@Nullable ClassifierInstance<?> parent)
      Set a new parent.
      Parameters:
      parent - the new parent to be assigned
      Returns:
      the element itself