Class TopObjectInfo


  • public class TopObjectInfo
    extends Object
    The top object common data container.
    • Constructor Detail

      • TopObjectInfo

        public TopObjectInfo​(String symlink,
                             org.eclipse.emf.ecore.EClass eClass,
                             org.eclipse.emf.ecore.EReference containingReference)
        Constructs a container.
        Parameters:
        symlink - top object symlink, cannot be null or empty string
        eClass - the EClass of the object in the container, cannot be null
        containingReference - the object reference in the container, can be null
      • TopObjectInfo

        public TopObjectInfo​(String symlink,
                             org.eclipse.emf.ecore.EClass eClass)
        Constructs a container.
        Parameters:
        symlink - top object symlink, cannot be null or empty string
        eClass - the EClass of the object in the container, cannot be null
    • Method Detail

      • getSymlink

        public String getSymlink()
        Gets top object symlink.
        Returns:
        top object symlink
      • getName

        public String getName()
        Gets top object name.
        Returns:
        top object name
      • getEClass

        public org.eclipse.emf.ecore.EClass getEClass()
        Gets top object type.
        Returns:
        top object type
      • getContainingReference

        public org.eclipse.emf.ecore.EReference getContainingReference()
        Gets the object reference in the container.
        Returns:
        the object reference in the container, can be null
      • getUuid

        public UUID getUuid()
        Gets top object UUID.
        Returns:
        top object UUID
      • setUuid

        public void setUuid​(UUID uuid)
        Sets the UUID value.
        Parameters:
        uuid - the UUID value to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object