|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.schematic.NgAttributeQuery
public class NgAttributeQuery
Attribute query object.
| Constructor Summary | |
|---|---|
NgAttributeQuery(Object obj)
Construct a NgAttributeQuery using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
delete()
Deletes the attribute. |
boolean |
equals(Object o)
Compare this object with another |
INgDataSource |
getDataSource()
Data source used by the query. |
String |
getFieldName()
Name of the field related to the attribute query. |
String |
getName()
Name of the attribute query. |
INgObjectType |
getObjectType()
Object type the attribute is related to. |
INgParameters |
getParameters()
List of the parameters used by the query. |
String |
getQueryString()
Query, name of the query, or name of the table that returnes the field associated with the attribute query. |
int |
getType()
Type of the attribute. |
int |
hashCode()
the hashcode for this object |
void |
setDataSource(INgDataSource pVal)
Data source used by the query. |
void |
setFieldName(String pVal)
Name of the field related to the attribute query. |
void |
setName(String pVal)
Name of the attribute query. |
void |
setParameters(INgParameters pVal)
List of the parameters used by the query. |
void |
setQueryString(String pVal)
Query, name of the query, or name of the table that returnes the field associated with the attribute query. |
| 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 NgAttributeQuery(Object obj)
throws IOException
obj to NgAttributeQuery. *
NgAttributeQuery o = (NgAttributeQuery)obj; // will not work
NgAttributeQuery o = new NgAttributeQuery(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
NgAttributeQuery theNgAttributeQuery = (NgAttributeQuery) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getName()
throws IOException,
AutomationException
This name is defined when the query attribute is created
- either by calling the INgObjectType CreateAttribute method in the program code,
- or through ArcGIS Schematics Designer, when the attribute has been created.
getName in interface INgAttributegetName in interface INgAttributeQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String pVal)
throws IOException,
AutomationException
setName in interface INgAttributesetName in interface INgAttributeQuerypVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getFieldName()
throws IOException,
AutomationException
getFieldName in interface INgAttributeQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFieldName(String pVal)
throws IOException,
AutomationException
setFieldName in interface INgAttributeQuerypVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgDataSource getDataSource()
throws IOException,
AutomationException
getDataSource in interface INgAttributeQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDataSource(INgDataSource pVal)
throws IOException,
AutomationException
setDataSource in interface INgAttributeQuerypVal - A reference to a com.esri.arcgis.schematic.INgDataSource (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getQueryString()
throws IOException,
AutomationException
getQueryString in interface INgAttributeQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setQueryString(String pVal)
throws IOException,
AutomationException
setQueryString in interface INgAttributeQuerypVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgParameters getParameters()
throws IOException,
AutomationException
getParameters in interface INgAttributeQueryIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setParameters(INgParameters pVal)
throws IOException,
AutomationException
setParameters in interface INgAttributeQuerypVal - A reference to a com.esri.arcgis.schematic.INgParameters (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getType()
throws IOException,
AutomationException
The attribute type is defined when the attribute is created:
- either by calling the INgObjectType CreateAttribute method in the program code,
- or through ArcGIS Schematics Designer, when the attribute has been created.
Seven types of attributes are available:
Attributes of a given type have their own characteristics. You can specify these characteristics through their specific interface INgAttributeConstant, INgAttributeField, INgAttributeFormatted, INgAttributeFunction, INgAttributeGeometry, or INgAttributeQuery.
getType in interface INgAttributeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgObjectType getObjectType()
throws IOException,
AutomationException
getObjectType in interface INgAttributeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void delete()
throws IOException,
AutomationException
delete in interface INgAttributeIOException - 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 | ||||||||