Class SerializableReferenceDescription

    • Constructor Detail

      • SerializableReferenceDescription

        public SerializableReferenceDescription()
    • Method Detail

      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
      • updateResourceURI

        public void updateResourceURI​(org.eclipse.emf.common.util.URI newURI,
                                      org.eclipse.emf.common.util.URI oldURI)
      • getSourceEObjectUri

        public org.eclipse.emf.common.util.URI getSourceEObjectUri()
        Specified by:
        getSourceEObjectUri in interface IReferenceDescription
        Returns:
        the URI pointing to the source EObject
      • setSourceEObjectUri

        public void setSourceEObjectUri​(org.eclipse.emf.common.util.URI sourceEObjectUri)
      • getTargetEObjectUri

        public org.eclipse.emf.common.util.URI getTargetEObjectUri()
        Specified by:
        getTargetEObjectUri in interface IReferenceDescription
        Returns:
        the URI pointing to the target EObject
      • setTargetEObjectUri

        public void setTargetEObjectUri​(org.eclipse.emf.common.util.URI targetEObjectUri)
      • getContainerEObjectURI

        public org.eclipse.emf.common.util.URI getContainerEObjectURI()
        Specified by:
        getContainerEObjectURI in interface IReferenceDescription
        Returns:
        the URI pointing to the exported EObject containing this reference. This can be the EObject defining the reference or one of its containers.
      • setContainerEObjectURI

        public void setContainerEObjectURI​(org.eclipse.emf.common.util.URI containerEObjectURI)
      • setEReference

        public void setEReference​(org.eclipse.emf.ecore.EReference eReference)
      • getIndexInList

        public int getIndexInList()
        Specified by:
        getIndexInList in interface IReferenceDescription
        Returns:
        the index of the reference, if the reference isMultiple, -1 if it is a single value reference
      • setIndexInList

        public void setIndexInList​(int indexInList)