|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.client.local.WorkspaceInfo
public class WorkspaceInfo
The Class WorkspaceInfo.
Nested Class Summary | |
---|---|
static class |
WorkspaceInfo.WorkspaceFactoryType
The enumeration WorkspaceFactoryType. |
Constructor Summary | |
---|---|
WorkspaceInfo(String id)
|
|
WorkspaceInfo(String id,
WorkspaceInfo.WorkspaceFactoryType type,
String connectionString)
|
|
WorkspaceInfo(String id,
WorkspaceInfo.WorkspaceFactoryType type,
String connectionString,
boolean lockVersion)
|
Method Summary | |
---|---|
static WorkspaceInfo |
CreateFileGeoDatabaseConnection(String workspaceID,
String pathToFolder)
|
static WorkspaceInfo |
CreateRasterFolderConnection(String workspaceID,
String pathToFolder)
|
static WorkspaceInfo |
CreateSDEConnection(String workspaceID,
String connectionString)
|
static WorkspaceInfo |
CreateSDEConnection(String workspaceID,
String connectionString,
boolean lockVersion)
|
static WorkspaceInfo |
CreateSDEConnectionFromFilePath(String workspaceID,
String pathToSdeConnectionFile)
|
static WorkspaceInfo |
CreateSDEConnectionFromFilePath(String workspaceID,
String pathToSdeConnectionFile,
boolean lockVersion)
|
static WorkspaceInfo |
CreateShapefileFolderConnection(String workspaceID,
String pathToFolder)
|
boolean |
equals(Object obj)
two WorkspaceInfos are equal if they have the same ID. |
String |
getConnectionString()
Gets the connection string. |
String |
getId()
Gets the id. |
String |
getSdeConnectionFilePath()
Sets the |
WorkspaceInfo.WorkspaceFactoryType |
getWorkspaceFactoryType()
Gets the workspace factory type. |
int |
hashCode()
|
boolean |
isLockVersion()
Checks if is lock version. |
void |
setConnectionString(String connectionString)
Sets the connection string. |
void |
setLockVersion(boolean lockVersion)
Sets the lock version. |
void |
setSdeConnectionFilePath(String sdeConnectionString)
|
void |
setWorkspaceFactoryType(WorkspaceInfo.WorkspaceFactoryType workspaceType)
Sets the workspace factory type. |
String |
toJson()
To json. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkspaceInfo(String id)
id
- public WorkspaceInfo(String id, WorkspaceInfo.WorkspaceFactoryType type, String connectionString)
id
- type
- connectionString
- public WorkspaceInfo(String id, WorkspaceInfo.WorkspaceFactoryType type, String connectionString, boolean lockVersion)
id
- type
- connectionString
- lockVersion
- Method Detail |
---|
public static WorkspaceInfo CreateFileGeoDatabaseConnection(String workspaceID, String pathToFolder)
workspaceID
- pathToFolder
-
public static WorkspaceInfo CreateShapefileFolderConnection(String workspaceID, String pathToFolder)
workspaceID
- pathToFolder
-
public static WorkspaceInfo CreateRasterFolderConnection(String workspaceID, String pathToFolder)
workspaceID
- pathToFolder
-
public static WorkspaceInfo CreateSDEConnectionFromFilePath(String workspaceID, String pathToSdeConnectionFile) throws IOException
workspaceID
- pathToSdeConnectionFile
-
IOException
public static WorkspaceInfo CreateSDEConnectionFromFilePath(String workspaceID, String pathToSdeConnectionFile, boolean lockVersion) throws IOException
workspaceID
- pathToSdeConnectionFile
- lockVersion
-
IOException
public static WorkspaceInfo CreateSDEConnection(String workspaceID, String connectionString)
workspaceID
- connectionString
-
public static WorkspaceInfo CreateSDEConnection(String workspaceID, String connectionString, boolean lockVersion)
workspaceID
- connectionString
- lockVersion
-
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String getId()
public String getConnectionString()
public void setConnectionString(String connectionString) throws IOException
connectionString
- the new connection string
IOException
public String getSdeConnectionFilePath()
public void setSdeConnectionFilePath(String sdeConnectionString) throws IOException
sdeConnectionString
-
IOException
public WorkspaceInfo.WorkspaceFactoryType getWorkspaceFactoryType()
public void setWorkspaceFactoryType(WorkspaceInfo.WorkspaceFactoryType workspaceType)
workspaceType
- the new workspace factory typepublic boolean isLockVersion()
public void setLockVersion(boolean lockVersion)
lockVersion
- the new lock versionpublic String toJson() throws org.codehaus.jackson.JsonGenerationException, IOException
org.codehaus.jackson.JsonGenerationException
- the json generation exception
IOException
- Signals that an I/O exception has occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |