|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.datamanagementtools.CreateVersion
public class CreateVersion
Creates a new version in the specified geodatabase. The Create Version tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
CreateVersion()
Creates the Create Version tool with defaults. |
|
CreateVersion(Object inWorkspace,
String parentVersion,
String versionName)
Creates the Create Version tool with the required parameters. |
Method Summary | |
---|---|
String |
getAccessPermission()
Returns the Access Permission parameter of this tool . |
Object |
getInWorkspace()
Returns the Input Workspace parameter of this tool . |
Object |
getOutWorkspace()
Returns the Output Workspace parameter of this tool (Read only). |
String |
getParentVersion()
Returns the Parent Version parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
String |
getVersionName()
Returns the Version Name parameter of this tool . |
void |
setAccessPermission(String accessPermission)
Sets the Access Permission parameter of this tool . |
void |
setInWorkspace(Object inWorkspace)
Sets the Input Workspace parameter of this tool . |
void |
setParentVersion(String parentVersion)
Sets the Parent Version parameter of this tool . |
void |
setVersionName(String versionName)
Sets the Version Name parameter of this tool . |
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
getParameterValues, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateVersion()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CreateVersion(Object inWorkspace, String parentVersion, String versionName)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inWorkspace
- the ArcSDE geodatabase that contains the parent version and will contain the new version. The default is to use the workspace defined in the environment settings.parentVersion
- the geodatabase, or version of a geodatabase, on which the new version will be based.versionName
- the name of the version to be created.Method Detail |
---|
public Object getInWorkspace()
public void setInWorkspace(Object inWorkspace)
inWorkspace
- the ArcSDE geodatabase that contains the parent version and will contain the new version. The default is to use the workspace defined in the environment settings.public String getParentVersion()
public void setParentVersion(String parentVersion)
parentVersion
- the geodatabase, or version of a geodatabase, on which the new version will be based.public String getVersionName()
public void setVersionName(String versionName)
versionName
- the name of the version to be created.public String getAccessPermission()
public void setAccessPermission(String accessPermission)
accessPermission
- the permission access level for the version.public Object getOutWorkspace()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |