Package com.nomagic.magicdraw.esi
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 java.lang.Object implements ProjectDescriptor
Offline project descriptor.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.UUID
getClusterID()
Returns cluster ID of the project.java.lang.String
getRepresentationString()
Constructs human representation of project.java.net.URI
getURI()
Returns project location URI.java.lang.String
getUser()
Returns user name.int
hashCode()
boolean
isRemote()
-
-
-
Method Detail
-
getClusterID
public java.util.UUID getClusterID()
Returns cluster ID of the project.- Returns:
- cluster ID.
-
getUser
public java.lang.String getUser()
Returns user name.- Returns:
- user name.
-
getURI
public java.net.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 interfaceProjectDescriptor
- Returns:
- project URI.
-
getRepresentationString
public java.lang.String getRepresentationString()
Description copied from interface:ProjectDescriptor
Constructs human representation of project.- Specified by:
getRepresentationString
in interfaceProjectDescriptor
- Returns:
- project's representation as String.
-
isRemote
public boolean isRemote()
- Specified by:
isRemote
in interfaceProjectDescriptor
- Returns:
- true if descriptor points to remote project location.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-