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 booleanequals(java.lang.Object o)java.util.UUIDgetClusterID()Returns cluster ID of the project.java.lang.StringgetRepresentationString()Constructs human representation of project.java.net.URIgetURI()Returns project location URI.java.lang.StringgetUser()Returns user name.inthashCode()booleanisRemote()
-
-
-
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:ProjectDescriptorReturns project location URI. Used only for persistence, not for human representation. This location can be used for new descriptors creating in ProjectDescriptorsFactory.- Specified by:
getURIin interfaceProjectDescriptor- Returns:
- project URI.
-
getRepresentationString
public java.lang.String getRepresentationString()
Description copied from interface:ProjectDescriptorConstructs human representation of project.- Specified by:
getRepresentationStringin interfaceProjectDescriptor- Returns:
- project's representation as String.
-
isRemote
public boolean isRemote()
- Specified by:
isRemotein interfaceProjectDescriptor- Returns:
- true if descriptor points to remote project location.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-