|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.StandaloneTableDescription
public class StandaloneTableDescription
The StandaloneTable Description coclass contains settings of a standalone table in a map.
Constructor Summary | |
---|---|
StandaloneTableDescription()
Constructs a StandaloneTableDescription using ArcGIS Engine. |
|
StandaloneTableDescription(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. StandaloneTableDescription theStandaloneTableDescription = (StandaloneTableDescription) obj; |
Method Summary | |
---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
IMapServerSourceDescription |
esri_getSource()
Data source for dynamic table. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getDefinitionExpression()
The definition expression for the table. |
int |
getID()
The table ID. |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
String |
getSourceID()
The id of the data source to connect to. |
double |
getTimeOffset()
Draw time offset to overlay the data on a earlier or later time span. |
int |
getTimeOffsetUnits()
Draw time offset units. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isTimeDataCumulative()
Draw the data cumulatively from the first instance of time in data as time progresses. |
boolean |
isUseTime()
Indicates whether use time for display. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setDefinitionExpression(String expression)
The definition expression for the table. |
void |
setID(int tableID)
The table ID. |
void |
setSource(IMapServerSourceDescription ppMapServerSourceDescription)
Data source for dynamic table. |
void |
setSourceID(String srcID)
The id of the data source to connect to. |
void |
setTimeDataCumulative(boolean drawCumilative)
Draw the data cumulatively from the first instance of time in data as time progresses. |
void |
setTimeOffset(double offset)
Draw time offset to overlay the data on a earlier or later time span. |
void |
setTimeOffsetUnits(int offsetUnits)
Draw time offset units. |
void |
setUseTime(boolean useTime)
Indicates whether use time for display. |
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 StandaloneTableDescription() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic StandaloneTableDescription(Object obj) throws IOException
StandaloneTableDescription theStandaloneTableDescription = (StandaloneTableDescription) obj;
obj
to StandaloneTableDescription
.
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 int getID() throws IOException, AutomationException
An identifier that uniquely identifies a layer or a table within a map
getID
in interface IMapTableDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setID(int tableID) throws IOException, AutomationException
setID
in interface IMapTableDescription
tableID
- The tableID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDefinitionExpression() throws IOException, AutomationException
A DefinitionExpression can be set on a layer or a table in order to limit layer features or rows available for display or query. This expression can be also be set in the source map document as a definition query. An expression set in the LayerDescription or StandaloneTableDescription will override one set for the layer in the source map. This only applies for the session state and does not replace the definition query set in the source map.
Let's look at some examples. You have a layer in your map that represents sales regions. The layer includes fields: REGIONS, SALES and MANAGER.
Example #1: In the source map the layer has a definition query, "REGION = North". No DefintionExpression is specified in LayerDescription. Only those features where REGION = North will be displayed in your map.
Example #2: In the source map the layer has a definition query, "REGION = ‘North’". You apply a DefinitionExpression in LayerDescription as "SALES > 1000". The LayerDescription DefinitionExpression overrides the definition query set in the source map. Only those features where SALES > 1000 will be displayed in your map.
If you wish to use the DefinitionExpression as a way of getting a subset of the features already filtered by the definition query in the map you will need to save the original expression and then add it to the new expression to form one compound expression, “REGION = ‘North’ AND SALES > 1000”. This will display map features that are belong to the North region and have sales over 1000.
Example #3: In the source map the layer has no definition query. You apply a DefinitionExpression in LayerDescription as "SALES > 1000". Only those features where SALES > 1000 will be displayed in your map.
The following MapServer methods will honor DefinitionExpression: Find, Identify, QueryData, QueryRowIDs, QueryRowCount, QueryFeatureCount2, QueryFeatureIds2, QueryFeatureData2 and QueryHyperlinks2.
Although the DefinitionExpression set in the LayerDescription will override any any definition query set in the source map, there are MapServer methods that only honor the expression set in the source document. Any expression set in DefinitionExpression in the LayerDescription will be ignored. These mothods include: QueryFeatureCount, QueryFeatureIds, and QueryFeatureData. MapDescription, which contains the LayerDescriptions, are not a parameter for these methods.
DefinitionExpression does not affect spatial extents.
getDefinitionExpression
in interface IMapTableDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefinitionExpression(String expression) throws IOException, AutomationException
setDefinitionExpression
in interface IMapTableDescription
expression
- The expression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSourceID() throws IOException, AutomationException
SourceID is used for map service interaction with the GPServer. It is a unique job id assigned to a geoprocessing service each time it runs on the server. This property can be used to find out which geoprocessing job has created this layer.
It is important to note that LayerID, SourceID and the index of layers (see MapLayerInfos) in map document are not the same.
Please note that this is currently not implemented for StandaloneTable.
getSourceID
in interface IMapTableDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSourceID(String srcID) throws IOException, AutomationException
setSourceID
in interface IMapTableDescription
srcID
- The srcID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseTime() throws IOException, AutomationException
When UseTime is set to False, the layer or table becomes time unaware and time related operations will ignore any time related settings on this layer or table. For example, when UseTime=False for a layer, ExportMapImage will draw all features from this layer even when IMapTimeDescription's TimeValue is set.
isUseTime
in interface IMapTableTimeDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseTime(boolean useTime) throws IOException, AutomationException
setUseTime
in interface IMapTableTimeDescription
useTime
- The useTime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isTimeDataCumulative() throws IOException, AutomationException
isTimeDataCumulative
in interface IMapTableTimeDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeDataCumulative(boolean drawCumilative) throws IOException, AutomationException
setTimeDataCumulative
in interface IMapTableTimeDescription
drawCumilative
- The drawCumilative (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getTimeOffset() throws IOException, AutomationException
getTimeOffset
in interface IMapTableTimeDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeOffset(double offset) throws IOException, AutomationException
setTimeOffset
in interface IMapTableTimeDescription
offset
- The offset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTimeOffsetUnits() throws IOException, AutomationException
getTimeOffsetUnits
in interface IMapTableTimeDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeOffsetUnits(int offsetUnits) throws IOException, AutomationException
setTimeOffsetUnits
in interface IMapTableTimeDescription
offsetUnits
- A com.esri.arcgis.system.esriTimeUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapServerSourceDescription esri_getSource() throws IOException, AutomationException
esri_getSource
in interface IDynamicMapTableDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSource(IMapServerSourceDescription ppMapServerSourceDescription) throws IOException, AutomationException
setSource
in interface IDynamicMapTableDescription
ppMapServerSourceDescription
- A reference to a com.esri.arcgis.carto.IMapServerSourceDescription (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 String getMinNamespaceSupported() throws IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
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 |