com.moximedia.aims
Class AimsSdeWorkspace

java.lang.Object
  extended bycom.moximedia.aims.AimsSdeWorkspace
All Implemented Interfaces:
AimsWorkspace, java.lang.Cloneable, java.io.Serializable

public class AimsSdeWorkspace
extends java.lang.Object
implements AimsWorkspace, java.io.Serializable, java.lang.Cloneable

Implementation of ArcIMS SDEWORKSPACE element. Used when adding dynamic SDE layers to the map.

Author:
Doug Cates - www.moximedia.com
See Also:
Serialized Form

Field Summary
static long m_workspaceId
           
 
Fields inherited from interface com.moximedia.aims.AimsWorkspace
WORKSPACE_TYPE_IMAGE, WORKSPACE_TYPE_SDE, WORKSPACE_TYPE_SHAPE
 
Constructor Summary
AimsSdeWorkspace()
          Do not use.
 
Method Summary
 java.lang.Object clone()
          Creates a copy of this object.
 AimsSdeWorkspace getCopy()
          Creates a copy of this object.
 java.lang.String getDatabase()
          Gets the database property.
 boolean getEncrypted()
          Gets the encrypted property.
 java.lang.String getGeoIndexDir()
          Gets the geoindex directory, if any.
 java.lang.String getInstance()
          Gets the instance property.
 java.lang.String getName()
          Gets the name property.
 java.lang.String getPassword()
          Gets the password property.
 java.lang.String getServer()
          Gets the server property.
 java.lang.String getUser()
          Gets the user property.
 int getWorkspaceType()
           
 void setDatabase(java.lang.String database)
          Sets the database property.
 void setEncrypted(boolean isEncrypted)
          Sets the encrypted property.
 void setGeoIndexDir(java.lang.String geoIndexDir)
          Sets the geoindex directory.
 void setInstance(java.lang.String instance)
          Sets the instance property.
 void setName(java.lang.String name)
          Sets the name property.
 void setPassword(java.lang.String password)
          Sets the password property.
 void setPassword(java.lang.String password, boolean isEncrypted)
          Sets the password property.
 void setServer(java.lang.String server)
          Sets the server property.
 void setUser(java.lang.String user)
          Sets the user property.
 void setUser(java.lang.String user, java.lang.String password)
          Sets the user credentials.
 void setUser(java.lang.String user, java.lang.String password, boolean isEncrypted)
          Sets the user credentials.
 java.lang.String toAxlString()
          Returns the AXL string to refresh this object, using the default environnment setting.
 java.lang.String toAxlString(AimsEnvironment env)
          Returns the AXL string to refresh this object, using the specified environnment setting.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_workspaceId

public static long m_workspaceId
Constructor Detail

AimsSdeWorkspace

public AimsSdeWorkspace()
Do not use. For serialization only.

Method Detail

getWorkspaceType

public int getWorkspaceType()
Specified by:
getWorkspaceType in interface AimsWorkspace

clone

public java.lang.Object clone()
Creates a copy of this object.

Specified by:
clone in interface AimsWorkspace
Returns:
An object that is a copy of one. The object must be cast to a AimsSdeWorkspace before use. Consider using getCopy() instead.

getCopy

public AimsSdeWorkspace getCopy()
Creates a copy of this object.

Returns:
An object that is a copy of one.

getDatabase

public java.lang.String getDatabase()
Gets the database property.

Returns:
The database property.

setDatabase

public void setDatabase(java.lang.String database)
Sets the database property.

Parameters:
database - The database property.

getEncrypted

public boolean getEncrypted()
Gets the encrypted property.

Returns:
The encrypted property.

setEncrypted

public void setEncrypted(boolean isEncrypted)
Sets the encrypted property.


getGeoIndexDir

public java.lang.String getGeoIndexDir()
Gets the geoindex directory, if any.

Returns:
The geoindex directory.

setGeoIndexDir

public void setGeoIndexDir(java.lang.String geoIndexDir)
Sets the geoindex directory.

Parameters:
geoIndexDir - geoindex directory.

getInstance

public java.lang.String getInstance()
Gets the instance property.

Returns:
The instance property.

setInstance

public void setInstance(java.lang.String instance)
Sets the instance property.

Parameters:
instance - The instance property.

getName

public java.lang.String getName()
Gets the name property.

Specified by:
getName in interface AimsWorkspace
Returns:
The name property.

setName

public void setName(java.lang.String name)
Sets the name property.

Parameters:
name - The name property.

getPassword

public java.lang.String getPassword()
Gets the password property.

Returns:
The password property.

setPassword

public void setPassword(java.lang.String password)
Sets the password property.

Parameters:
password - The password property.

setPassword

public void setPassword(java.lang.String password,
                        boolean isEncrypted)
Sets the password property.

Parameters:
password - The password property.
isEncrypted - True if the password is encrypted, otherwise false.

getServer

public java.lang.String getServer()
Gets the server property.

Returns:
The server property.

setServer

public void setServer(java.lang.String server)
Sets the server property.

Parameters:
server - The server property.

getUser

public java.lang.String getUser()
Gets the user property.

Returns:
The user property.

setUser

public void setUser(java.lang.String user)
Sets the user property.

Parameters:
user - The user property.

setUser

public void setUser(java.lang.String user,
                    java.lang.String password)
Sets the user credentials.

Parameters:
user - The user property.
password - The password property.

setUser

public void setUser(java.lang.String user,
                    java.lang.String password,
                    boolean isEncrypted)
Sets the user credentials.

Parameters:
user - The user property.
password - The password property.
isEncrypted - True if the password is encrypted, otherwise false.

toAxlString

public java.lang.String toAxlString()
Returns the AXL string to refresh this object, using the default environnment setting. This method is not typically used by the application programmer.

Specified by:
toAxlString in interface AimsWorkspace
Returns:
The AXL string to refresh this object.

toAxlString

public java.lang.String toAxlString(AimsEnvironment env)
Returns the AXL string to refresh this object, using the specified environnment setting. This method is not typically used by the application programmer.

Specified by:
toAxlString in interface AimsWorkspace
Parameters:
env - The environment object containing coordinate separators.
Returns:
The AXL string to refresh this object.


Internet Mapping Framework for ArcIMS Java Object Model API (v5.1.00)
Copyright © 2006 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.