Class EsiUtils.OfflineProjectDescriptor

java.lang.Object
com.nomagic.magicdraw.esi.EsiUtils.OfflineProjectDescriptor
All Implemented Interfaces:
ProjectDescriptor
Enclosing class:
EsiUtils

public static class EsiUtils.OfflineProjectDescriptor extends Object implements ProjectDescriptor
Offline project descriptor.
  • Method Details

    • getClusterID

      public UUID getClusterID()
      Returns cluster ID of the project.
      Returns:
      cluster ID.
    • getUser

      public String getUser()
      Returns user name.
      Returns:
      user name.
    • getURI

      public URI getURI()
      Description copied from interface: ProjectDescriptor
      Returns project location URI. Used only for persistence, not for human representation. This location can be used for new descriptors creating in ProjectDescriptorsFactory.
      Specified by:
      getURI in interface ProjectDescriptor
      Returns:
      project URI.
    • getRepresentationString

      public String getRepresentationString()
      Description copied from interface: ProjectDescriptor
      Constructs human representation of project.
      Specified by:
      getRepresentationString in interface ProjectDescriptor
      Returns:
      project's representation as String.
    • isRemote

      public boolean isRemote()
      Specified by:
      isRemote in interface ProjectDescriptor
      Returns:
      true if descriptor points to remote project location.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object