org.eclipse.emf.emfstore.client.util
Class ESClientURIUtil

java.lang.Object
  extended by org.eclipse.emf.emfstore.client.util.ESClientURIUtil

public final class ESClientURIUtil
extends Object

Helper class for EMFStore Client URIs and accessing segments.

Since:
1.1
Author:
jfaltermeier

Field Summary
static String CLIENT_SEGMENT
          The EMFStore URI segment for client workspaces.
static String OPERATIONS_SEGMENT
          The EMFStore URI segment for a project's operations.
static String PROJECT_SEGMENT
          The EMFStore URI segment for a project.
static String PROJECTSPACE_SEGMENT
          The EMFStore URI segment for a projectspace.
static String PROJECTSPACES_SEGMENT
          The EMFStore URI segment for projectspaces.
static String SCHEME
          The EMFStore URI scheme.
static String WORKSPACE_SEGMENT
          The EMFStore URI segment for the workspace.
 
Method Summary
static org.eclipse.emf.common.util.URI createOperationsURI(IdentifiableElement projectSpace)
          Creates an EMFStore URI for addressing the operations of a projectspace.
static org.eclipse.emf.common.util.URI createProjectSpaceURI(IdentifiableElement projectSpace)
          Creates an EMFStore URI for addressing the projectspace fragment of a project.
static org.eclipse.emf.common.util.URI createProjectURI(IdentifiableElement projectSpace)
          Creates an EMFStore URI for addressing the project fragment of a projectspace.
static org.eclipse.emf.common.util.URI createWorkspaceURI()
          Creates an EMFStore URI for addressing the client's workspace.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHEME

public static final String SCHEME
The EMFStore URI scheme.

Example URI: emfstore://workspaces/profile/projectspaces/_pWleAMkNEeK_G9uCvLFQ5A/project

See Also:
Constant Field Values

CLIENT_SEGMENT

public static final String CLIENT_SEGMENT
The EMFStore URI segment for client workspaces.

Example URI: emfstore://workspaces/profile/projectspaces/_pWleAMkNEeK_G9uCvLFQ5A/project

See Also:
Constant Field Values

PROJECTSPACES_SEGMENT

public static final String PROJECTSPACES_SEGMENT
The EMFStore URI segment for projectspaces.

Example URI: emfstore://workspaces/profile/projectspaces/_pWleAMkNEeK_G9uCvLFQ5A/project

See Also:
Constant Field Values

WORKSPACE_SEGMENT

public static final String WORKSPACE_SEGMENT
The EMFStore URI segment for the workspace.

Example URI: emfstore://workspaces/profile/workspace

See Also:
Constant Field Values

PROJECT_SEGMENT

public static final String PROJECT_SEGMENT
The EMFStore URI segment for a project.

Example URI: emfstore://workspaces/profile/projectspaces/_pWleAMkNEeK_G9uCvLFQ5A/project

See Also:
Constant Field Values

PROJECTSPACE_SEGMENT

public static final String PROJECTSPACE_SEGMENT
The EMFStore URI segment for a projectspace.

Example URI: emfstore://workspaces/profile/projectspaces/_pWleAMkNEeK_G9uCvLFQ5A/projectspace

See Also:
Constant Field Values

OPERATIONS_SEGMENT

public static final String OPERATIONS_SEGMENT
The EMFStore URI segment for a project's operations.

Example URI: emfstore://workspaces/profile/projectspaces/_pWleAMkNEeK_G9uCvLFQ5A/operations

See Also:
Constant Field Values
Method Detail

createWorkspaceURI

public static org.eclipse.emf.common.util.URI createWorkspaceURI()
Creates an EMFStore URI for addressing the client's workspace.

Example URI: emfstore://workspaces/profile/workspace

Returns:
the EMFStore URI

createProjectURI

public static org.eclipse.emf.common.util.URI createProjectURI(IdentifiableElement projectSpace)
Creates an EMFStore URI for addressing the project fragment of a projectspace.

Example URI: emfstore://workspaces/profile/projectspaces/identifier/project

Parameters:
projectSpace - the ProjectSpace
Returns:
the EMFStore URI

createOperationsURI

public static org.eclipse.emf.common.util.URI createOperationsURI(IdentifiableElement projectSpace)
Creates an EMFStore URI for addressing the operations of a projectspace.

Example URI: emfstore://workspaces/profile/projectspaces/identifier/operations

Parameters:
projectSpace - the ProjectSpace
Returns:
the EMFStore URI

createProjectSpaceURI

public static org.eclipse.emf.common.util.URI createProjectSpaceURI(IdentifiableElement projectSpace)
Creates an EMFStore URI for addressing the projectspace fragment of a project.

Example URI: emfstore://workspaces/profile/projectspaces/identifier/projectspace

Parameters:
projectSpace - the ProjectSpace
Returns:
the EMFStore URI


Copyright © 2015. All Rights Reserved.