|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.ReferenceDataField
public class ReferenceDataField
A reference data field definition for a reference data table.
A ReferenceDataField describes a Field in the ReferenceDataTable used the the locator.
ReferenceDataIndex
,
IReferenceDataFieldEdit
,
ReferenceDataFieldsEnumerator
,
ReferenceDataTableEnumerator
,
IReferenceDataField
,
IReferenceDataTableEdit
,
ESRIFDOAddressLocator
,
IReferenceDataFile.getPathName()
,
StreetMapAddressLocator
,
IEnumReferenceDataField
,
IReferenceDataFile
,
IReferenceDataTable
,
IReferenceDataTables
,
IReferenceDataTables.getTables()
,
ReferenceDataField
,
IReferenceDataFile.getFilters()
,
IEnumReferenceDataTable
,
ReferenceDataTable
,
IAddressGeocoding.validate()
,
ReferenceDataIndexEnumerator
,
IEnumReferenceDataIndex
,
Serialized FormConstructor Summary | |
---|---|
ReferenceDataField(Object obj)
Construct a ReferenceDataField using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
Object |
getDefaultNames()
Recognized names for the reference data field in the reference data table. |
String |
getDisplayName()
Name for the reference data field to display in the user interface. |
String |
getInternalName()
Internal name for the reference data field. |
String |
getName()
Name of the field in the reference data table. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isObjectID()
Indicates if the field is the ObjectID field. |
boolean |
isRequired()
Indicates whether the field is a required by the locator. |
boolean |
isShape()
Indicates if the field is the Shape field. |
void |
setName(String rhs1)
Name of the field in the reference data table. |
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 ReferenceDataField(Object obj) throws IOException
obj
to ReferenceDataField
. *
ReferenceDataField o = (ReferenceDataField)obj; // will not work
ReferenceDataField o = new ReferenceDataField(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
ReferenceDataField theReferenceDataField = (ReferenceDataField) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getDisplayName() throws IOException, AutomationException
getDisplayName
in interface IReferenceDataField
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getInternalName() throws IOException, AutomationException
The InternalName property returns the internal name for the ReferenceDataField used by the locator.
The following is a listing of the internal names of the ReferenceDataFields used by the locators provided with ArcGIS 8:
getInternalName
in interface IReferenceDataField
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isObjectID() throws IOException, AutomationException
isObjectID
in interface IReferenceDataField
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShape() throws IOException, AutomationException
isShape
in interface IReferenceDataField
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
The Name property returns the actual name of the Field in the reference data source.
getName
in interface IReferenceDataField
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRequired() throws IOException, AutomationException
If the Required property is False, then the reference data source does not need to contain this Field.
isRequired
in interface IReferenceDataField
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDefaultNames() throws IOException, AutomationException
The DefaultNames property returns an array of strings that contain possible names for this ReferenceDataField in the ReferenceDataTable. You can use these possible names to seach a reference data source for the appropriate field for the ReferenceDataField.
getDefaultNames
in interface IReferenceDataFieldEdit
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String rhs1) throws IOException, AutomationException
The Name property specifies the name of the Field in the reference data source used by the locator.
setName
in interface IReferenceDataFieldEdit
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |