Class SerializableEObjectDescription

    • Field Detail

      • eObjectURI

        protected org.eclipse.emf.common.util.URI eObjectURI
      • eClass

        protected org.eclipse.emf.ecore.EClass eClass
      • userData

        protected java.util.HashMap<java.lang.String,​java.lang.String> userData
      • eObjectOrProxy

        protected transient org.eclipse.emf.ecore.EObject eObjectOrProxy
    • Constructor Detail

      • SerializableEObjectDescription

        public SerializableEObjectDescription()
    • Method Detail

      • updateResourceURI

        public void updateResourceURI​(org.eclipse.emf.common.util.URI uri)
      • getEObjectOrProxy

        public org.eclipse.emf.ecore.EObject getEObjectOrProxy()
        Specified by:
        getEObjectOrProxy in interface IEObjectDescription
        Returns:
        the actual element or a proxy.
      • getUserData

        public java.lang.String getUserData​(java.lang.String key)
        Description copied from interface: IEObjectDescription
        Access to specific user data.
        Specified by:
        getUserData in interface IEObjectDescription
        Parameters:
        key - the user data key. May not be null. Unknown keys yield null.
        Returns:
        the value. May be null.
      • getUserDataKeys

        public java.lang.String[] getUserDataKeys()
        Specified by:
        getUserDataKeys in interface IEObjectDescription
        Returns:
        all available user data keys. Never null.
      • 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
      • getEObjectURI

        public org.eclipse.emf.common.util.URI getEObjectURI()
        Specified by:
        getEObjectURI in interface IEObjectDescription
        Returns:
        the full URI to the described element
      • setEObjectURI

        public void setEObjectURI​(org.eclipse.emf.common.util.URI eObjectURI)
      • getEClass

        public org.eclipse.emf.ecore.EClass getEClass()
        Specified by:
        getEClass in interface IEObjectDescription
        Returns:
        the EClass of the described element.
      • setEClass

        public void setEClass​(org.eclipse.emf.ecore.EClass eClass)
      • setQualifiedName

        public void setQualifiedName​(QualifiedName qualifiedName)
      • getUserData

        public java.util.HashMap<java.lang.String,​java.lang.String> getUserData()
      • setUserData

        public void setUserData​(java.util.HashMap<java.lang.String,​java.lang.String> userData)