|
|||||||||
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.CreateDomain
public class CreateDomain
Creates an attribute domain in the specified workspace. The Create Domain tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
CreateDomain()
Creates the Create Domain tool with defaults. |
|
CreateDomain(java.lang.Object inWorkspace,
java.lang.String domainName,
java.lang.String domainDescription,
java.lang.String fieldType)
Creates the Create Domain tool with the required parameters. |
Method Summary | |
---|---|
java.lang.String |
getDomainDescription()
Returns the Domain Description parameter of this tool . |
java.lang.String |
getDomainName()
Returns the Domain Name parameter of this tool . |
java.lang.String |
getDomainType()
Returns the Domain Type parameter of this tool . |
java.lang.String |
getFieldType()
Returns the Field Type parameter of this tool . |
java.lang.Object |
getInWorkspace()
Returns the Input Workspace parameter of this tool . |
java.lang.String |
getMergePolicy()
Returns the Merge Policy parameter of this tool . |
java.lang.Object |
getOutWorkspace()
Returns the Output Workspace parameter of this tool (Read only). |
java.lang.String |
getSplitPolicy()
Returns the Split Policy parameter of this tool . |
java.lang.String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
java.lang.String |
getToolboxName()
Returns the name of the tool box containing this tool. |
java.lang.String |
getToolName()
Returns the name of this tool. |
void |
setDomainDescription(java.lang.String domainDescription)
Sets the Domain Description parameter of this tool . |
void |
setDomainName(java.lang.String domainName)
Sets the Domain Name parameter of this tool . |
void |
setDomainType(java.lang.String domainType)
Sets the Domain Type parameter of this tool . |
void |
setFieldType(java.lang.String fieldType)
Sets the Field Type parameter of this tool . |
void |
setInWorkspace(java.lang.Object inWorkspace)
Sets the Input Workspace parameter of this tool . |
void |
setMergePolicy(java.lang.String mergePolicy)
Sets the Merge Policy parameter of this tool . |
void |
setSplitPolicy(java.lang.String splitPolicy)
Sets the Split Policy 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 CreateDomain()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CreateDomain(java.lang.Object inWorkspace, java.lang.String domainName, java.lang.String domainDescription, java.lang.String fieldType)
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 geodatabase that will contain the new domain.domainName
- the name of the domain that will be created.domainDescription
- the description of the domain that will be created.fieldType
- the type of attribute domain to create. Attribute domains are rules that describe the legal values of a field type. Specify a field type that matches the data type of the field to which the attribute domain will be assigned.Method Detail |
---|
public java.lang.Object getInWorkspace()
public void setInWorkspace(java.lang.Object inWorkspace)
inWorkspace
- the geodatabase that will contain the new domain.public java.lang.String getDomainName()
public void setDomainName(java.lang.String domainName)
domainName
- the name of the domain that will be created.public java.lang.String getDomainDescription()
public void setDomainDescription(java.lang.String domainDescription)
domainDescription
- the description of the domain that will be created.public java.lang.String getFieldType()
public void setFieldType(java.lang.String fieldType)
fieldType
- the type of attribute domain to create. Attribute domains are rules that describe the legal values of a field type. Specify a field type that matches the data type of the field to which the attribute domain will be assigned.public java.lang.String getDomainType()
public void setDomainType(java.lang.String domainType)
domainType
- the domain type to create:public java.lang.String getSplitPolicy()
public void setSplitPolicy(java.lang.String splitPolicy)
splitPolicy
- the split policy of the created domain. The behavior of an attribute's values when a feature that is split is controlled by its split policy.public java.lang.String getMergePolicy()
public void setMergePolicy(java.lang.String mergePolicy)
mergePolicy
- the merge policy of the created domain. When two features are merged into a single feature, merge policies control attribute values in the new feature.public java.lang.Object getOutWorkspace()
public java.lang.String getToolName()
public java.lang.String getToolboxName()
public java.lang.String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |