|
|||||||||
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(Object inWorkspace,
String domainName,
String domainDescription,
String fieldType)
Creates the Create Domain tool with the required parameters. |
Method Summary | |
---|---|
String |
getDomainDescription()
Returns the Domain Description parameter of this tool . |
String |
getDomainName()
Returns the Domain Name parameter of this tool . |
String |
getDomainType()
Returns the Domain Type parameter of this tool . |
String |
getFieldType()
Returns the Field Type parameter of this tool . |
Object |
getInWorkspace()
Returns the Input Workspace parameter of this tool . |
String |
getMergePolicy()
Returns the Merge Policy parameter of this tool . |
Object |
getOutWorkspace()
Returns the Output Workspace parameter of this tool (Read only). |
String |
getSplitPolicy()
Returns the Split Policy 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. |
void |
setDomainDescription(String domainDescription)
Sets the Domain Description parameter of this tool . |
void |
setDomainName(String domainName)
Sets the Domain Name parameter of this tool . |
void |
setDomainType(String domainType)
Sets the Domain Type parameter of this tool . |
void |
setFieldType(String fieldType)
Sets the Field Type parameter of this tool . |
void |
setInWorkspace(Object inWorkspace)
Sets the Input Workspace parameter of this tool . |
void |
setMergePolicy(String mergePolicy)
Sets the Merge Policy parameter of this tool . |
void |
setSplitPolicy(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(Object inWorkspace, String domainName, String domainDescription, 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 Object getInWorkspace()
public void setInWorkspace(Object inWorkspace)
inWorkspace
- the geodatabase that will contain the new domain.public String getDomainName()
public void setDomainName(String domainName)
domainName
- the name of the domain that will be created.public String getDomainDescription()
public void setDomainDescription(String domainDescription)
domainDescription
- the description of the domain that will be created.public String getFieldType()
public void setFieldType(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 String getDomainType()
public void setDomainType(String domainType)
domainType
- the domain type to create:public String getSplitPolicy()
public void setSplitPolicy(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 String getMergePolicy()
public void setMergePolicy(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 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 |