Class SContainmentLinkAdapter

    • Constructor Detail

      • SContainmentLinkAdapter

        protected SContainmentLinkAdapter​(@NotNull
                                          String name)
    • Method Detail

      • getName

        @NotNull
        public String getName()
        Description copied from interface: SNamedElement
        Presentation of the element for an end-user. Unlike identity, the name is deemed user-friendly and shall not be used for persistence.
        Specified by:
        getName in interface SNamedElement
        Returns:
        name of the meta element
      • isOptional

        public boolean isOptional()
        Description copied from interface: SAbstractLink
        This link may contain no elements.
        Specified by:
        isOptional in interface SAbstractLink
      • getOwner

        @NotNull
        public abstract SAbstractConcept getOwner()
        Description copied from interface: SConceptFeature
        Retrieves concept where the feature has been declared. Note, this concept doesn't necessarily match concept of the node when this feature has been obtained through node's meta-model accessors, instead, the feature may originate from one of concept's ancestors.
        Specified by:
        getOwner in interface SConceptFeature
        Returns:
        concept this feature is declared in
      • isReference

        public boolean isReference()
        Description copied from interface: SAbstractLink
        True for references, false for containment relationships.
        Specified by:
        isReference in interface SAbstractLink
      • isMultiple

        public boolean isMultiple()
        Description copied from interface: SAbstractLink
        Instance nodes can contain more than one link like this.
        Specified by:
        isMultiple in interface SAbstractLink
      • isUnordered

        public boolean isUnordered()
        Description copied from interface: SContainmentLink
        The order of elements contained by such links can be changed without affecting the language semantics. The value is undefined for singular links.
        Specified by:
        isUnordered in interface SContainmentLink
      • serialize

        public abstract String serialize()