|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.conversiontools.UpgradeMetadata
public class UpgradeMetadata
Updates an ArcGIS item's metadata or a stand-alone XML file to the current ArcGIS metadata format. The Upgrade Metadata tool is contained in the Conversion Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
UpgradeMetadata()
Creates the Upgrade Metadata tool with defaults. |
|
UpgradeMetadata(Object sourceMetadata,
String upgradeType)
Creates the Upgrade Metadata tool with the required parameters. |
Method Summary | |
---|---|
Object |
getOutputMetadata()
Returns the Output Metadata parameter of this tool (Read only). |
Object |
getSourceMetadata()
Returns the Source Metadata 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 |
getUpgradeType()
Returns the Upgrade Type parameter of this tool . |
void |
setSourceMetadata(Object sourceMetadata)
Sets the Source Metadata parameter of this tool . |
void |
setUpgradeType(String upgradeType)
Sets the Upgrade Type 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 UpgradeMetadata()
Initializes the array of tool parameters with the default values specified when the tool was created.
public UpgradeMetadata(Object sourceMetadata, String upgradeType)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
sourceMetadata
- the item whose metadata will be upgraded, or a stand-alone XML file that will be upgraded.upgradeType
- the type of conversion that will take place. an upgrade type must be specified; otherwise, no conversion will be performed.Method Detail |
---|
public Object getSourceMetadata()
public void setSourceMetadata(Object sourceMetadata)
sourceMetadata
- the item whose metadata will be upgraded, or a stand-alone XML file that will be upgraded.public String getUpgradeType()
public void setUpgradeType(String upgradeType)
upgradeType
- the type of conversion that will take place. an upgrade type must be specified; otherwise, no conversion will be performed.public Object getOutputMetadata()
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 |