com.moximedia.aims
Class AimsShapeWorkspace

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

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

Implementation of ArcIMS SHAPEWORKSPACE element. Used when adding dynamic feature layers to the map.

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

Field Summary
static long m_workspaceId
           
 
Constructor Summary
AimsShapeWorkspace()
          Do not use.
AimsShapeWorkspace(java.lang.String directory)
          Creates new AimsShapeWorkspace with the specified directory name.
 
Method Summary
 java.lang.Object clone()
          Creates a copy of this object.
 java.lang.Integer getCodePage()
          Gets the code page, if any.
 java.lang.String getDirectory()
          Gets the directory string.
 java.lang.String getGeoIndexDir()
          Gets the geoindex directory, if any.
 java.lang.String getName()
          Gets the name string.
 boolean getShared()
          Returns whether the workspace is shared.
 void setCodePage(java.lang.Integer codePage)
          Sets the code page.
 void setDirectory(java.lang.String directory)
          Sets the directory string.
 void setGeoIndexDir(java.lang.String geoIndexDir)
          Sets the geoindex directory.
 void setName(java.lang.String name)
          Sets the name string.
 void setShared(boolean isShared)
          Sets whether the workspace is shared.
 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

AimsShapeWorkspace

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


AimsShapeWorkspace

public AimsShapeWorkspace(java.lang.String directory)
Creates new AimsShapeWorkspace with the specified directory name.

Parameters:
directory - The directory of the shape workspace.
Method Detail

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 AimsShapeWorkspace before use.

getCodePage

public java.lang.Integer getCodePage()
Gets the code page, if any.

Returns:
The code page number.

setCodePage

public void setCodePage(java.lang.Integer codePage)
Sets the code page.

Parameters:
codePage - The code page number.

getDirectory

public java.lang.String getDirectory()
Gets the directory string.

Returns:
The directory string.

setDirectory

public void setDirectory(java.lang.String directory)
Sets the directory string.

Parameters:
directory - The directory string.

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.

getName

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

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

setName

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

Parameters:
name - The name string.

getShared

public boolean getShared()
Returns whether the workspace is shared.

Returns:
True if other processes update the data.

setShared

public void setShared(boolean isShared)
Sets whether the workspace is shared.

Parameters:
isShared - True if other processes update the data.

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.0.004)
Copyright © 2005 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.