|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFeatureLayerDefinition
Provides access to members that define a subset of the features from the underlying feature class.
You can use RelationshipClass to access
the the relationship class, if one exists, that defines the
relationship between the layer and the table that is joined to it.
This same object can be accessed through
IDisplayRelationshipClass::RelationshipClass.
IDisplayRelationshipClass can be more convenient because it has
multiple additionl methods and properties for working with layer
joins.
Method Summary | |
---|---|
IFeatureLayer |
createSelectionLayer(String layerName,
boolean useCurrentSelection,
String joinTableNames,
String expression)
Creates a new feature layer from the existing layer based on the current selection and the specified query expression. |
String |
getDefinitionExpression()
Definition query expression for the existing layer. |
ISelectionSet |
getDefinitionSelectionSet()
The selection set that defines the subset of features in a selection layer. |
IRelationshipClass |
getRelationshipClass()
The current relationship class used to display related fields. |
void |
setDefinitionExpression(String expression)
Definition query expression for the existing layer. |
void |
setRelationshipClassByRef(IRelationshipClass relClass)
The current relationship class used to display related fields. |
Method Detail |
---|
String getDefinitionExpression() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDefinitionExpression(String expression) throws IOException, AutomationException
expression
- The expression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISelectionSet getDefinitionSelectionSet() throws IOException, AutomationException
You can use the DefintionSelectionSet property to get the selection set that was used to define the new layer created by the IFeatureLayerDefintion::CreateSelectionLayer method. Note, before calling CreateSelectionLayer, the selection set returned by DefintionSelectionSet will be Nothing. Therefore, you can only use this property after you have called the CreateSelectionLayer method.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFeatureLayer createSelectionLayer(String layerName, boolean useCurrentSelection, String joinTableNames, String expression) throws IOException, AutomationException
layerName
- The layerName (in)useCurrentSelection
- The useCurrentSelection (in)joinTableNames
- The joinTableNames (in)expression
- The expression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRelationshipClass getRelationshipClass() throws IOException, AutomationException
RelClass must be a defined relationship class on the base feature class.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRelationshipClassByRef(IRelationshipClass relClass) throws IOException, AutomationException
relClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (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 |