Class JavaParentFragmentArtifact

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider

        net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider.StringComparator
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      net.ssehub.easy.instantiation.core.model.vilTypes.Set<JavaAnnotation> annotations​(java.util.List<org.eclipse.jdt.core.dom.IExtendedModifier> modifierList)
      Returns the annotations for a given modifierList.
      void deleteChild​(net.ssehub.easy.instantiation.core.model.artifactModel.FragmentArtifact child)
      Notifies the parent that the given child shall be deleted.
      void notifyChildChanged​(net.ssehub.easy.instantiation.core.model.artifactModel.FragmentArtifact child)
      Notifies the parent that one of its childs changed.
      private static java.lang.String toString​(org.eclipse.jdt.core.dom.Expression expression)
      Turns a dom tree expression into a string.
      • Methods inherited from class net.ssehub.easy.instantiation.core.model.artifactModel.FragmentArtifact

        exists, lastModification
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.ssehub.easy.instantiation.core.model.artifactModel.IArtifact

        accept, getBinary, getName, getText, rename
      • Methods inherited from interface net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider

        getStringValue
    • Constructor Detail

      • JavaParentFragmentArtifact

        protected JavaParentFragmentArtifact​(IJavaParent parent)
        Creates a new parent fragment artifact.
        Parameters:
        parent - the parent of this artifact
    • Method Detail

      • notifyChildChanged

        public void notifyChildChanged​(net.ssehub.easy.instantiation.core.model.artifactModel.FragmentArtifact child)
        Description copied from interface: IJavaParent
        Notifies the parent that one of its childs changed.
        Specified by:
        notifyChildChanged in interface IJavaParent
        Parameters:
        child - the child which changed
      • deleteChild

        public void deleteChild​(net.ssehub.easy.instantiation.core.model.artifactModel.FragmentArtifact child)
                         throws net.ssehub.easy.instantiation.core.model.common.VilException
        Description copied from interface: IJavaParent
        Notifies the parent that the given child shall be deleted. The parent is notified implicitly about the "change" so that IJavaParent.notifyChildChanged(FragmentArtifact) is not needed
        Specified by:
        deleteChild in interface IJavaParent
        Parameters:
        child - the child to be deleted
        Throws:
        net.ssehub.easy.instantiation.core.model.common.VilException - in case that deletion fails
      • toString

        private static java.lang.String toString​(org.eclipse.jdt.core.dom.Expression expression)
        Turns a dom tree expression into a string.
        Parameters:
        expression - the expression
        Returns:
        the string representation
      • annotations

        public net.ssehub.easy.instantiation.core.model.vilTypes.Set<JavaAnnotation> annotations​(java.util.List<org.eclipse.jdt.core.dom.IExtendedModifier> modifierList)
        Returns the annotations for a given modifierList.
        Parameters:
        modifierList - the modifier list to be processed
        Returns:
        An ArraySet with all annotations