|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.GPFieldInfo
public class GPFieldInfo
Geoprocessing value object describing a set of fields.
Constructor Summary | |
---|---|
GPFieldInfo()
Constructs a GPFieldInfo using ArcGIS Engine. |
|
GPFieldInfo(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GPFieldInfo theGPFieldInfo = (GPFieldInfo) obj; |
Method Summary | |
---|---|
void |
addField(int fieldIndex,
String fieldName,
String newFieldName,
boolean visible,
int split)
Add a field to the field info object. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
void |
empty()
Clears the value object. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
int |
findFieldByIndex(int fieldIndex)
Returns the index of the field in the field info object matching given the field index. |
int |
findFieldByName(String fieldName)
Returns the index of the field in the field info object matching given the field name. |
int |
findFieldByNewName(String fieldName)
Returns the index of the field in the field info object matching given the field new name. |
String |
getAliasName(int index)
Returns the real alias of the specified field in the field info object. |
String |
getAsText()
Provides the value of the value object. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
int |
getCount()
The number of fields in the field info object. |
int |
getFieldIndex(int index)
Returns the field index of the specified field in the field info object. |
String |
getFieldName(int index)
Returns the name of the specified field in the field info object. |
String |
getJoinDelimiter(int index)
Returns the join delimiter of the specified field in the field info object. |
int |
getMergeRule(int index)
Returns the merge rule of the specified field in the field info object. |
boolean |
getNamingError(int index)
Returns whether there is an error with the specified field in the field info object. |
String |
getNewName(int index)
Returns the new name of the specified field in the field info object. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getSplitRule(int index)
Returns the split rule of the specified field in the field info object. |
void |
getTextPos(int index,
int[] start,
int[] end)
Returns the start and end text positions. |
boolean |
getVisible(int index)
Returns the visibility of the specified field in the field info object. |
int |
hashCode()
the hashcode for this object |
IGPDataType |
IGPValue_getDataType()
The data type of the value object. |
void |
initialize(IDETable table,
IDEWorkspace workspace)
Initializes the field info object using the field information from the given table/workspace. |
void |
isDirty()
isDirty |
boolean |
isEmpty()
Indicates if the value object is empty. |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
void |
load(IStream pstm)
load |
void |
merge(IDETable table)
Merges the field information from the given table data element into the field info object. |
void |
readExternal(ObjectInput in)
|
void |
removeAll()
Removes all the fields from the field info object. |
void |
removeField(int index)
Removes the given field from the field info object. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setAliasName(int index,
String alias)
Sets the real alias of the specified field in the field info object. |
IGPMessage |
setAsText(String text)
Provides the value of the value object with the given string value. |
void |
setFieldIndex(int index,
int fieldIndex)
Sets the name of the specified field in the field info object. |
void |
setFieldName(int index,
String name)
Sets the name of the specified field in the field info object. |
void |
setJoinDelimiter(int index,
String delimiter)
Sets the join delimiter of the specified field in the field info object. |
void |
setMergeRule(int index,
int merge)
Sets the merge rule of the specified field in the field info object. |
void |
setNamingError(int index,
boolean error)
Sets whether there is an error with the specified field in the field info object. |
void |
setNewName(int index,
String name)
Sets the new name of the specified field in the field info object. |
void |
setSplitRule(int index,
int split)
Sets the split rule of the specified field in the field info object. |
void |
setTextPos(int index,
int start,
int end)
Sets the start and end text positions. |
void |
setVisible(int index,
boolean visible)
Sets the visibility of the specified field in the field info object. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GPFieldInfo() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GPFieldInfo(Object obj) throws IOException
GPFieldInfo theGPFieldInfo = (GPFieldInfo) obj;
obj
to GPFieldInfo
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IGPDataType IGPValue_getDataType() throws IOException, AutomationException
IGPValue_getDataType
in interface IGPValue
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEmpty() throws IOException, AutomationException
The IsEmpty method returns if this Value object has been set or not.
isEmpty
in interface IGPValue
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void empty() throws IOException, AutomationException
The Empty method clears this Value object and releases any associated objects.
empty
in interface IGPValue
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAsText() throws IOException, AutomationException
The GetAsText method returns this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string for the scalar value.
getAsText
in interface IGPValue
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPMessage setAsText(String text) throws IOException, AutomationException
The SetAsText method sets the value of this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string representing the scalar value.
setAsText
in interface IGPValue
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initialize(IDETable table, IDEWorkspace workspace) throws IOException, AutomationException
initialize
in interface IGPFieldInfo
table
- A reference to a com.esri.arcgis.geodatabase.IDETable (in)workspace
- A reference to a com.esri.arcgis.geodatabase.IDEWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void merge(IDETable table) throws IOException, AutomationException
merge
in interface IGPFieldInfo
table
- A reference to a com.esri.arcgis.geodatabase.IDETable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
removeAll
in interface IGPFieldInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addField(int fieldIndex, String fieldName, String newFieldName, boolean visible, int split) throws IOException, AutomationException
addField
in interface IGPFieldInfo
fieldIndex
- The fieldIndex (in)fieldName
- The fieldName (in)newFieldName
- The newFieldName (in)visible
- The visible (in)split
- A com.esri.arcgis.geoprocessing.esriGPFieldInfoSplitRule constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IGPFieldInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFieldName(int index) throws IOException, AutomationException
getFieldName
in interface IGPFieldInfo
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFieldIndex(int index) throws IOException, AutomationException
getFieldIndex
in interface IGPFieldInfo
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean getNamingError(int index) throws IOException, AutomationException
getNamingError
in interface IGPFieldInfo
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNewName(int index) throws IOException, AutomationException
getNewName
in interface IGPFieldInfo
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSplitRule(int index) throws IOException, AutomationException
getSplitRule
in interface IGPFieldInfo
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean getVisible(int index) throws IOException, AutomationException
getVisible
in interface IGPFieldInfo
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFieldName(int index, String name) throws IOException, AutomationException
setFieldName
in interface IGPFieldInfo
index
- The index (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFieldIndex(int index, int fieldIndex) throws IOException, AutomationException
setFieldIndex
in interface IGPFieldInfo
index
- The index (in)fieldIndex
- The fieldIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNamingError(int index, boolean error) throws IOException, AutomationException
setNamingError
in interface IGPFieldInfo
index
- The index (in)error
- The error (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNewName(int index, String name) throws IOException, AutomationException
setNewName
in interface IGPFieldInfo
index
- The index (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSplitRule(int index, int split) throws IOException, AutomationException
setSplitRule
in interface IGPFieldInfo
index
- The index (in)split
- A com.esri.arcgis.geoprocessing.esriGPFieldInfoSplitRule constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisible(int index, boolean visible) throws IOException, AutomationException
setVisible
in interface IGPFieldInfo
index
- The index (in)visible
- The visible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeField(int index) throws IOException, AutomationException
removeField
in interface IGPFieldInfo
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int findFieldByName(String fieldName) throws IOException, AutomationException
findFieldByName
in interface IGPFieldInfo
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int findFieldByNewName(String fieldName) throws IOException, AutomationException
findFieldByNewName
in interface IGPFieldInfo
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int findFieldByIndex(int fieldIndex) throws IOException, AutomationException
findFieldByIndex
in interface IGPFieldInfo
fieldIndex
- The fieldIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMergeRule(int index) throws IOException, AutomationException
getMergeRule
in interface IGPFieldInfo2
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMergeRule(int index, int merge) throws IOException, AutomationException
setMergeRule
in interface IGPFieldInfo2
index
- The index (in)merge
- A com.esri.arcgis.geoprocessing.esriGPFieldMapMergeRule constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getJoinDelimiter(int index) throws IOException, AutomationException
getJoinDelimiter
in interface IGPFieldInfo2
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setJoinDelimiter(int index, String delimiter) throws IOException, AutomationException
setJoinDelimiter
in interface IGPFieldInfo2
index
- The index (in)delimiter
- The delimiter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getTextPos(int index, int[] start, int[] end) throws IOException, AutomationException
getTextPos
in interface IGPFieldInfo2
index
- The index (in)start
- The start (out: use single element array)end
- The end (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextPos(int index, int start, int end) throws IOException, AutomationException
setTextPos
in interface IGPFieldInfo2
index
- The index (in)start
- The start (in)end
- The end (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAliasName(int index) throws IOException, AutomationException
getAliasName
in interface IGPFieldInfo3
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAliasName(int index, String alias) throws IOException, AutomationException
setAliasName
in interface IGPFieldInfo3
index
- The index (in)alias
- The alias (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |