RSE
Release 1.0

org.eclipse.rse.files.ui.resources
Class SystemRemotePath

java.lang.Object
  extended byorg.eclipse.rse.files.ui.resources.SystemRemotePath
All Implemented Interfaces:
ISystemRemotePath

public class SystemRemotePath
extends Object
implements ISystemRemotePath

A default implementation of a remote path.


Field Summary
protected  String connectionName
           
protected  String path
           
protected  String profileName
           
static ISystemRemotePath ROOT
           
 
Constructor Summary
SystemRemotePath(String profileName, String connectionName, String path)
          Constructor for SystemRemotePath.
 
Method Summary
 boolean equals(Object obj)
          Returns whether this path equals the given object.
 String getConnectionName()
          Get the connection name.
 String getPath()
          Get the path of the resource on the server.
 String getProfileName()
          Get the profile name.
 void setConnectionName(String connectionName)
          Set the connection name.
 void setPath(String path)
          Set the remote path.
 void setProfileName(String profileName)
          Set the profile name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.rse.files.ui.resources.ISystemRemotePath
toString
 

Field Detail

ROOT

public static final ISystemRemotePath ROOT

profileName

protected String profileName

connectionName

protected String connectionName

path

protected String path
Constructor Detail

SystemRemotePath

public SystemRemotePath(String profileName,
                        String connectionName,
                        String path)
Constructor for SystemRemotePath.

Parameters:
path -
Method Detail

setProfileName

public void setProfileName(String profileName)
Set the profile name.


setConnectionName

public void setConnectionName(String connectionName)
Set the connection name.


setPath

public void setPath(String path)
Set the remote path.


getProfileName

public String getProfileName()
Description copied from interface: ISystemRemotePath
Get the profile name.

Specified by:
getProfileName in interface ISystemRemotePath
Returns:
the profile name
See Also:
ISystemRemotePath.getProfileName()

getConnectionName

public String getConnectionName()
Description copied from interface: ISystemRemotePath
Get the connection name.

Specified by:
getConnectionName in interface ISystemRemotePath
Returns:
the connection name
See Also:
ISystemRemotePath.getConnectionName()

getPath

public String getPath()
Description copied from interface: ISystemRemotePath
Get the path of the resource on the server.

Specified by:
getPath in interface ISystemRemotePath
Returns:
the path of the resource on the server
See Also:
ISystemRemotePath.getPath()

equals

public boolean equals(Object obj)
Description copied from interface: ISystemRemotePath
Returns whether this path equals the given object. This is system dependent.

Specified by:
equals in interface ISystemRemotePath
See Also:
Object.equals(Object)

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.