com.esri.arcgis.datasourcesfile
Class SMFlag

java.lang.Object
  extended by com.esri.arcgis.datasourcesfile.SMFlag
All Implemented Interfaces:
ISMFlag, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class SMFlag
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISMFlag

COM Class 'SMFlag'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesFile.olb'

Description 'Deprecated as of 10.1. The object that represents flag properties.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.datasourcesfile.ISMFlag
DISPID_1_GET_NAME, DISPID_1_PUT_NAME, DISPID_2_GET_NAME, DISPID_2_PUT_NAME, DISPID_3_GET_NAME, DISPID_3_PUT_NAME, DISPID_4_GET_NAME, DISPID_4_PUT_NAME, IID, IIDf8b66011_5850_11d7_b321_008048db11de, xxDummy
 
Constructor Summary
SMFlag(java.lang.Object obj)
          Construct a SMFlag using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getObjectID()
          Flag ID.
 float getPercentAlong()
          Flag position along the street segment as a percent of the segment length.
 int getSide()
          The side of the street that the flag is on.
 ISMRouterPoint getStreetPoint()
          The geographic location of the flag.
 int hashCode()
          the hashcode for this object
 void release()
          Release a SMFlag.
 void setObjectID(int pVal)
          Flag ID.
 void setPercentAlong(float pVal)
          Flag position along the street segment as a percent of the segment length.
 void setSide(int pVal)
          The side of the street that the flag is on.
 void setStreetPoint(ISMRouterPoint pVal)
          The geographic location of the flag.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMFlag

public SMFlag(java.lang.Object obj)
       throws java.io.IOException
Construct a SMFlag using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SMFlag.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
SMFlag o = (SMFlag)obj; // will not work

SMFlag o = new SMFlag(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems SMFlag theSMFlag = (SMFlag) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a SMFlag.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getObjectID

public int getObjectID()
                throws java.io.IOException,
                       AutomationException
Flag ID.

Specified by:
getObjectID in interface ISMFlag
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObjectID

public void setObjectID(int pVal)
                 throws java.io.IOException,
                        AutomationException
Flag ID.

Specified by:
setObjectID in interface ISMFlag
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPercentAlong

public float getPercentAlong()
                      throws java.io.IOException,
                             AutomationException
Flag position along the street segment as a percent of the segment length.

Specified by:
getPercentAlong in interface ISMFlag
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPercentAlong

public void setPercentAlong(float pVal)
                     throws java.io.IOException,
                            AutomationException
Flag position along the street segment as a percent of the segment length.

Specified by:
setPercentAlong in interface ISMFlag
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSide

public int getSide()
            throws java.io.IOException,
                   AutomationException
The side of the street that the flag is on. Returns an esriSMStreetSideType constant.

Specified by:
getSide in interface ISMFlag
Returns:
A com.esri.arcgis.datasourcesfile.esriSMStreetSideType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSide

public void setSide(int pVal)
             throws java.io.IOException,
                    AutomationException
The side of the street that the flag is on. Returns an esriSMStreetSideType constant.

Specified by:
setSide in interface ISMFlag
Parameters:
pVal - A com.esri.arcgis.datasourcesfile.esriSMStreetSideType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStreetPoint

public ISMRouterPoint getStreetPoint()
                              throws java.io.IOException,
                                     AutomationException
The geographic location of the flag.

Specified by:
getStreetPoint in interface ISMFlag
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStreetPoint

public void setStreetPoint(ISMRouterPoint pVal)
                    throws java.io.IOException,
                           AutomationException
The geographic location of the flag.

Specified by:
setStreetPoint in interface ISMFlag
Parameters:
pVal - A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.