com.esri.arcgis.geodatabaseextensions
Class ParcelConstructionData

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.ParcelConstructionData
All Implemented Interfaces:
IConstructionAdjustment, IConstructionBasisOfBearing, IConstructionBreakPoints, IConstructionJoinLinks, IConstructionParentParcels, IConstructionPoints, IConstructionUnbuildableLines, IParcelConstructionData, com.esri.arcgis.interop.RemoteObjRef, IDocumentVersionSupportGEN, IPersist, IPersistStream, Externalizable, Serializable

public class ParcelConstructionData
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IPersistStream, IDocumentVersionSupportGEN, IParcelConstructionData, IConstructionParentParcels, IConstructionBreakPoints, IConstructionBasisOfBearing, IConstructionJoinLinks, IConstructionUnbuildableLines, IConstructionPoints, IConstructionAdjustment, Externalizable

Esri Cadastral Fabric Parcel Construction Data Class.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
ParcelConstructionData(Object obj)
          Construct a ParcelConstructionData using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addBreakPoint(int pointNo, int fromPointNo, int toPointNo, double ratio)
          Adds a break point to the parcel construction data.
 void addConstructionPoint(int unjoinedPointNo, double x, double y)
          Adds a construction point to the parcel construction data.
 void addJoinLink(int joinedPointNo, int unjoinedPointNo, int fromPointNo, int toPointNo, int parcelNo)
          Adds a join link to the parcel construction data.
 void addParentParcel(int parcelNo)
          Add a parent parcelNo for the construction.
 void addUnbuildableLine(int parentParcelNo, int fromPointNo, int toPointNo)
          Mark a line as unbuildable for the parent parcel.
 void clearBreakPoints()
          Clears all break points.
 void clearConstructionPoints()
          Clears the construction points.
 void clearJoinLinks()
          Clears join links.
 void clearParentParcels()
          Clear the parent parcel numbers.
 void clearUnbuildableLines(int parentParcelNo)
          Clears the unbuildables lines of the parent parcel.
 Object convertToSupportedObject(int docVersion)
          Convert the object to another object that is supported.
 boolean equals(Object o)
          Compare this object with another
 String exportToXMLString()
          Writes construction data in XML format to a string.
 void findBreakPoint(int pointNo, int[] fromPointNo, int[] toPointNo, double[] ratio)
          The break point with the matching pointNo.
 void findConstructionPoint(int unjoinedPointNo, double[] x, double[] y)
          The construction point with the matching point No.
 int getAdjustmentMethod()
          The method for adjustment.
 double getBasisOfBearingOffset()
          The basis of bearing offset angle.
 void getBreakPoint(int i, int[] pointNo, int[] fromPointNo, int[] toPointNo, double[] ratio)
          The break point at the given index.
 int getBreakPointCount()
          The number of break points for the parcel construction data.
 void getClassID(GUID[] pClassID)
          getClassID
 void getConstructionPoint(int i, int[] pUnjoinedPointNo, double[] pX, double[] pY)
          Retrieves the construction point at the given index.
 int getConstructionPointCount()
          The number of point constructions for the parcel.
 void getEndPoint(int[] unjoinedPointNo, double[] x, double[] y)
          The end point for the adjustment.
 void getJoinLink(int i, int[] joinedPointNo, int[] unjoinedPointNo, int[] fromPointNo, int[] toPointNo, int[] parcelNo)
          Retrieves the join link at the given index.
 int getJoinLinkCount()
          The number of join links for the parcel construction data.
 int getParcelNo()
          The parcel network No.
 void getParentParcel(int i, int[] parcelNo)
          The parent parcelNo at the given index.
 int getParentParcelCount()
          The number of parent parcels.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 void getStartPoint(int[] unjoinedPointNo, double[] x, double[] y)
          The start point for the adjustment.
 void getUnbuildableLines(int parentParcelNo, int[] count, int[] fromPointNos, int[] toPointNos)
          Retrieve the from and to points for the unbuildables lines of the parent parcel.
 int hashCode()
          the hashcode for this object
 void isDirty()
          isDirty
 boolean isSupportedAtVersion(int docVersion)
          Is this object valid at the given document version.
 void load(IStream pstm)
          load
 void loadConstructionDataFromXML(Object pXMLParcelNode)
          Populates the construction data object properties by reading the properties from the xml parcel node.
 void loadConstructionDataFromXMLString(String xMLString)
          Populates the construction data object properties by reading the xml string.
 void readExternal(ObjectInput in)
           
 void removeBreakPoint(int pointNo)
          Remove break point from parcel construction data.
 void removeConstructionPoint(int unjoinedPointNo)
          Remove the construction point.
 void removeJoinLink(int i)
          Remove join link at the given index.
 void removeParentParcel(int parcelNo)
          Remove parent parcel from construction data.
 void removeUnbuildableLine(int parentParcelNo, int fromPointNo, int toPointNo)
          Remove unbuildable line for the parent parcel.
 void save(IStream pstm, int fClearDirty)
          save
 void setAdjustmentMethod(int type)
          The method for adjustment.
 void setBasisOfBearingOffset(double angleOffset)
          The basis of bearing offset angle.
 void setEndPoint(int unjoinedPointNo, double x, double y)
          The start point for the adjustment.
 void setParcelNo(int parcelNo)
          The parcel network No.
 void setStartPoint(int unjoinedPointNo, double x, double y)
          The start point for the adjustment.
 void setUnbuildableLines(int parentParcelNo, int count, int[] fromPointNos, int[] toPointNos)
          Input the from and to points for the unbuildable lines of the parent parcel.
 void writeExternal(ObjectOutput out)
           
 void writeToXML(Object pXMLDoc)
          Appends construction data as XML to parcel node.
 
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

ParcelConstructionData

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

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

Throws:
IOException - if there are interop problems ParcelConstructionData theParcelConstructionData = (ParcelConstructionData) obj;
Method Detail

equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

isDirty

public void isDirty()
             throws IOException,
                    AutomationException
isDirty

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDirty in interface IPersistStream
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws IOException,
                 AutomationException
load

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws IOException,
                 AutomationException
save

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws IOException,
                       AutomationException
getSizeMax

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws IOException,
                       AutomationException
getClassID

Description

IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSupportedAtVersion

public boolean isSupportedAtVersion(int docVersion)
                             throws IOException,
                                    AutomationException
Is this object valid at the given document version.

Remarks

Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isSupportedAtVersion in interface IDocumentVersionSupportGEN
Parameters:
docVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
Returns:
The supported
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertToSupportedObject

public Object convertToSupportedObject(int docVersion)
                                throws IOException,
                                       AutomationException
Convert the object to another object that is supported.

Remarks

This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
convertToSupportedObject in interface IDocumentVersionSupportGEN
Parameters:
docVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParcelNo

public int getParcelNo()
                throws IOException,
                       AutomationException
The parcel network No.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getParcelNo in interface IParcelConstructionData
Returns:
The parcelNo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParcelNo

public void setParcelNo(int parcelNo)
                 throws IOException,
                        AutomationException
The parcel network No.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setParcelNo in interface IParcelConstructionData
Parameters:
parcelNo - The parcelNo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeToXML

public void writeToXML(Object pXMLDoc)
                throws IOException,
                       AutomationException
Appends construction data as XML to parcel node.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
writeToXML in interface IParcelConstructionData
Parameters:
pXMLDoc - A reference to another Object (IUnknown) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadConstructionDataFromXML

public void loadConstructionDataFromXML(Object pXMLParcelNode)
                                 throws IOException,
                                        AutomationException
Populates the construction data object properties by reading the properties from the xml parcel node.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
loadConstructionDataFromXML in interface IParcelConstructionData
Parameters:
pXMLParcelNode - A reference to another Object (IUnknown) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToXMLString

public String exportToXMLString()
                         throws IOException,
                                AutomationException
Writes construction data in XML format to a string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
exportToXMLString in interface IParcelConstructionData
Returns:
The xMLString
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadConstructionDataFromXMLString

public void loadConstructionDataFromXMLString(String xMLString)
                                       throws IOException,
                                              AutomationException
Populates the construction data object properties by reading the xml string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
loadConstructionDataFromXMLString in interface IParcelConstructionData
Parameters:
xMLString - The xMLString (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentParcelCount

public int getParentParcelCount()
                         throws IOException,
                                AutomationException
The number of parent parcels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getParentParcelCount in interface IConstructionParentParcels
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentParcel

public void getParentParcel(int i,
                            int[] parcelNo)
                     throws IOException,
                            AutomationException
The parent parcelNo at the given index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getParentParcel in interface IConstructionParentParcels
Parameters:
i - The i (in)
parcelNo - The parcelNo (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addParentParcel

public void addParentParcel(int parcelNo)
                     throws IOException,
                            AutomationException
Add a parent parcelNo for the construction.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
addParentParcel in interface IConstructionParentParcels
Parameters:
parcelNo - The parcelNo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeParentParcel

public void removeParentParcel(int parcelNo)
                        throws IOException,
                               AutomationException
Remove parent parcel from construction data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
removeParentParcel in interface IConstructionParentParcels
Parameters:
parcelNo - The parcelNo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearParentParcels

public void clearParentParcels()
                        throws IOException,
                               AutomationException
Clear the parent parcel numbers.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
clearParentParcels in interface IConstructionParentParcels
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBreakPointCount

public int getBreakPointCount()
                       throws IOException,
                              AutomationException
The number of break points for the parcel construction data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getBreakPointCount in interface IConstructionBreakPoints
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBreakPoint

public void getBreakPoint(int i,
                          int[] pointNo,
                          int[] fromPointNo,
                          int[] toPointNo,
                          double[] ratio)
                   throws IOException,
                          AutomationException
The break point at the given index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getBreakPoint in interface IConstructionBreakPoints
Parameters:
i - The i (in)
pointNo - The pointNo (in/out: use single element array)
fromPointNo - The fromPointNo (in/out: use single element array)
toPointNo - The toPointNo (in/out: use single element array)
ratio - The ratio (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findBreakPoint

public void findBreakPoint(int pointNo,
                           int[] fromPointNo,
                           int[] toPointNo,
                           double[] ratio)
                    throws IOException,
                           AutomationException
The break point with the matching pointNo.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
findBreakPoint in interface IConstructionBreakPoints
Parameters:
pointNo - The pointNo (in)
fromPointNo - The fromPointNo (in/out: use single element array)
toPointNo - The toPointNo (in/out: use single element array)
ratio - The ratio (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addBreakPoint

public void addBreakPoint(int pointNo,
                          int fromPointNo,
                          int toPointNo,
                          double ratio)
                   throws IOException,
                          AutomationException
Adds a break point to the parcel construction data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
addBreakPoint in interface IConstructionBreakPoints
Parameters:
pointNo - The pointNo (in)
fromPointNo - The fromPointNo (in)
toPointNo - The toPointNo (in)
ratio - The ratio (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeBreakPoint

public void removeBreakPoint(int pointNo)
                      throws IOException,
                             AutomationException
Remove break point from parcel construction data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
removeBreakPoint in interface IConstructionBreakPoints
Parameters:
pointNo - The pointNo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearBreakPoints

public void clearBreakPoints()
                      throws IOException,
                             AutomationException
Clears all break points.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
clearBreakPoints in interface IConstructionBreakPoints
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBasisOfBearingOffset

public double getBasisOfBearingOffset()
                               throws IOException,
                                      AutomationException
The basis of bearing offset angle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getBasisOfBearingOffset in interface IConstructionBasisOfBearing
Returns:
The angleOffset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBasisOfBearingOffset

public void setBasisOfBearingOffset(double angleOffset)
                             throws IOException,
                                    AutomationException
The basis of bearing offset angle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setBasisOfBearingOffset in interface IConstructionBasisOfBearing
Parameters:
angleOffset - The angleOffset (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getJoinLinkCount

public int getJoinLinkCount()
                     throws IOException,
                            AutomationException
The number of join links for the parcel construction data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getJoinLinkCount in interface IConstructionJoinLinks
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addJoinLink

public void addJoinLink(int joinedPointNo,
                        int unjoinedPointNo,
                        int fromPointNo,
                        int toPointNo,
                        int parcelNo)
                 throws IOException,
                        AutomationException
Adds a join link to the parcel construction data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
addJoinLink in interface IConstructionJoinLinks
Parameters:
joinedPointNo - The joinedPointNo (in)
unjoinedPointNo - The unjoinedPointNo (in)
fromPointNo - The fromPointNo (in)
toPointNo - The toPointNo (in)
parcelNo - The parcelNo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getJoinLink

public void getJoinLink(int i,
                        int[] joinedPointNo,
                        int[] unjoinedPointNo,
                        int[] fromPointNo,
                        int[] toPointNo,
                        int[] parcelNo)
                 throws IOException,
                        AutomationException
Retrieves the join link at the given index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getJoinLink in interface IConstructionJoinLinks
Parameters:
i - The i (in)
joinedPointNo - The joinedPointNo (in/out: use single element array)
unjoinedPointNo - The unjoinedPointNo (in/out: use single element array)
fromPointNo - The fromPointNo (in/out: use single element array)
toPointNo - The toPointNo (in/out: use single element array)
parcelNo - The parcelNo (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeJoinLink

public void removeJoinLink(int i)
                    throws IOException,
                           AutomationException
Remove join link at the given index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
removeJoinLink in interface IConstructionJoinLinks
Parameters:
i - The i (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearJoinLinks

public void clearJoinLinks()
                    throws IOException,
                           AutomationException
Clears join links.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
clearJoinLinks in interface IConstructionJoinLinks
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addUnbuildableLine

public void addUnbuildableLine(int parentParcelNo,
                               int fromPointNo,
                               int toPointNo)
                        throws IOException,
                               AutomationException
Mark a line as unbuildable for the parent parcel.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
addUnbuildableLine in interface IConstructionUnbuildableLines
Parameters:
parentParcelNo - The parentParcelNo (in)
fromPointNo - The fromPointNo (in)
toPointNo - The toPointNo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeUnbuildableLine

public void removeUnbuildableLine(int parentParcelNo,
                                  int fromPointNo,
                                  int toPointNo)
                           throws IOException,
                                  AutomationException
Remove unbuildable line for the parent parcel.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
removeUnbuildableLine in interface IConstructionUnbuildableLines
Parameters:
parentParcelNo - The parentParcelNo (in)
fromPointNo - The fromPointNo (in)
toPointNo - The toPointNo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUnbuildableLines

public void setUnbuildableLines(int parentParcelNo,
                                int count,
                                int[] fromPointNos,
                                int[] toPointNos)
                         throws IOException,
                                AutomationException
Input the from and to points for the unbuildable lines of the parent parcel.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setUnbuildableLines in interface IConstructionUnbuildableLines
Parameters:
parentParcelNo - The parentParcelNo (in)
count - The count (in)
fromPointNos - The fromPointNos (in)
toPointNos - The toPointNos (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUnbuildableLines

public void getUnbuildableLines(int parentParcelNo,
                                int[] count,
                                int[] fromPointNos,
                                int[] toPointNos)
                         throws IOException,
                                AutomationException
Retrieve the from and to points for the unbuildables lines of the parent parcel.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getUnbuildableLines in interface IConstructionUnbuildableLines
Parameters:
parentParcelNo - The parentParcelNo (in)
count - The count (in/out: use single element array)
fromPointNos - The fromPointNos (in/out: use single element array)
toPointNos - The toPointNos (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearUnbuildableLines

public void clearUnbuildableLines(int parentParcelNo)
                           throws IOException,
                                  AutomationException
Clears the unbuildables lines of the parent parcel.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
clearUnbuildableLines in interface IConstructionUnbuildableLines
Parameters:
parentParcelNo - The parentParcelNo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConstructionPointCount

public int getConstructionPointCount()
                              throws IOException,
                                     AutomationException
The number of point constructions for the parcel.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getConstructionPointCount in interface IConstructionPoints
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConstructionPoint

public void getConstructionPoint(int i,
                                 int[] pUnjoinedPointNo,
                                 double[] pX,
                                 double[] pY)
                          throws IOException,
                                 AutomationException
Retrieves the construction point at the given index. Coordinates are in meters.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getConstructionPoint in interface IConstructionPoints
Parameters:
i - The i (in)
pUnjoinedPointNo - The pUnjoinedPointNo (in/out: use single element array)
pX - The pX (in/out: use single element array)
pY - The pY (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addConstructionPoint

public void addConstructionPoint(int unjoinedPointNo,
                                 double x,
                                 double y)
                          throws IOException,
                                 AutomationException
Adds a construction point to the parcel construction data. Coordinates are in meters.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
addConstructionPoint in interface IConstructionPoints
Parameters:
unjoinedPointNo - The unjoinedPointNo (in)
x - The x (in)
y - The y (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findConstructionPoint

public void findConstructionPoint(int unjoinedPointNo,
                                  double[] x,
                                  double[] y)
                           throws IOException,
                                  AutomationException
The construction point with the matching point No. Coordinates are in meters.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
findConstructionPoint in interface IConstructionPoints
Parameters:
unjoinedPointNo - The unjoinedPointNo (in)
x - The x (in/out: use single element array)
y - The y (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeConstructionPoint

public void removeConstructionPoint(int unjoinedPointNo)
                             throws IOException,
                                    AutomationException
Remove the construction point.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
removeConstructionPoint in interface IConstructionPoints
Parameters:
unjoinedPointNo - The unjoinedPointNo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearConstructionPoints

public void clearConstructionPoints()
                             throws IOException,
                                    AutomationException
Clears the construction points.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
clearConstructionPoints in interface IConstructionPoints
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAdjustmentMethod

public int getAdjustmentMethod()
                        throws IOException,
                               AutomationException
The method for adjustment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAdjustmentMethod in interface IConstructionAdjustment
Returns:
A com.esri.arcgis.geodatabaseextensions.esriParcelAdjustmentType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAdjustmentMethod

public void setAdjustmentMethod(int type)
                         throws IOException,
                                AutomationException
The method for adjustment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setAdjustmentMethod in interface IConstructionAdjustment
Parameters:
type - A com.esri.arcgis.geodatabaseextensions.esriParcelAdjustmentType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStartPoint

public void getStartPoint(int[] unjoinedPointNo,
                          double[] x,
                          double[] y)
                   throws IOException,
                          AutomationException
The start point for the adjustment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getStartPoint in interface IConstructionAdjustment
Parameters:
unjoinedPointNo - The unjoinedPointNo (in/out: use single element array)
x - The x (in/out: use single element array)
y - The y (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEndPoint

public void getEndPoint(int[] unjoinedPointNo,
                        double[] x,
                        double[] y)
                 throws IOException,
                        AutomationException
The end point for the adjustment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getEndPoint in interface IConstructionAdjustment
Parameters:
unjoinedPointNo - The unjoinedPointNo (in/out: use single element array)
x - The x (in/out: use single element array)
y - The y (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStartPoint

public void setStartPoint(int unjoinedPointNo,
                          double x,
                          double y)
                   throws IOException,
                          AutomationException
The start point for the adjustment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setStartPoint in interface IConstructionAdjustment
Parameters:
unjoinedPointNo - The unjoinedPointNo (in)
x - The x (in)
y - The y (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEndPoint

public void setEndPoint(int unjoinedPointNo,
                        double x,
                        double y)
                 throws IOException,
                        AutomationException
The start point for the adjustment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setEndPoint in interface IConstructionAdjustment
Parameters:
unjoinedPointNo - The unjoinedPointNo (in)
x - The x (in)
y - The y (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException