|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabaseextensions.ParcelConstructionData
public class ParcelConstructionData
Esri Cadastral Fabric Parcel Construction Data Class.
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 |
---|
public ParcelConstructionData(Object obj) throws IOException
obj
to ParcelConstructionData
. *
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
IOException
- if there are interop problems
ParcelConstructionData theParcelConstructionData = (ParcelConstructionData) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
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 boolean isSupportedAtVersion(int docVersion) throws IOException, AutomationException
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.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object convertToSupportedObject(int docVersion) throws IOException, AutomationException
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.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getParcelNo() throws IOException, AutomationException
getParcelNo
in interface IParcelConstructionData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setParcelNo(int parcelNo) throws IOException, AutomationException
setParcelNo
in interface IParcelConstructionData
parcelNo
- The parcelNo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeToXML(Object pXMLDoc) throws IOException, AutomationException
writeToXML
in interface IParcelConstructionData
pXMLDoc
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadConstructionDataFromXML(Object pXMLParcelNode) throws IOException, AutomationException
loadConstructionDataFromXML
in interface IParcelConstructionData
pXMLParcelNode
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String exportToXMLString() throws IOException, AutomationException
exportToXMLString
in interface IParcelConstructionData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadConstructionDataFromXMLString(String xMLString) throws IOException, AutomationException
loadConstructionDataFromXMLString
in interface IParcelConstructionData
xMLString
- The xMLString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getParentParcelCount() throws IOException, AutomationException
getParentParcelCount
in interface IConstructionParentParcels
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getParentParcel(int i, int[] parcelNo) throws IOException, AutomationException
getParentParcel
in interface IConstructionParentParcels
i
- The i (in)parcelNo
- The parcelNo (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addParentParcel(int parcelNo) throws IOException, AutomationException
addParentParcel
in interface IConstructionParentParcels
parcelNo
- The parcelNo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeParentParcel(int parcelNo) throws IOException, AutomationException
removeParentParcel
in interface IConstructionParentParcels
parcelNo
- The parcelNo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearParentParcels() throws IOException, AutomationException
clearParentParcels
in interface IConstructionParentParcels
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBreakPointCount() throws IOException, AutomationException
getBreakPointCount
in interface IConstructionBreakPoints
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getBreakPoint(int i, int[] pointNo, int[] fromPointNo, int[] toPointNo, double[] ratio) throws IOException, AutomationException
getBreakPoint
in interface IConstructionBreakPoints
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findBreakPoint(int pointNo, int[] fromPointNo, int[] toPointNo, double[] ratio) throws IOException, AutomationException
findBreakPoint
in interface IConstructionBreakPoints
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addBreakPoint(int pointNo, int fromPointNo, int toPointNo, double ratio) throws IOException, AutomationException
addBreakPoint
in interface IConstructionBreakPoints
pointNo
- The pointNo (in)fromPointNo
- The fromPointNo (in)toPointNo
- The toPointNo (in)ratio
- The ratio (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeBreakPoint(int pointNo) throws IOException, AutomationException
removeBreakPoint
in interface IConstructionBreakPoints
pointNo
- The pointNo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearBreakPoints() throws IOException, AutomationException
clearBreakPoints
in interface IConstructionBreakPoints
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getBasisOfBearingOffset() throws IOException, AutomationException
getBasisOfBearingOffset
in interface IConstructionBasisOfBearing
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBasisOfBearingOffset(double angleOffset) throws IOException, AutomationException
setBasisOfBearingOffset
in interface IConstructionBasisOfBearing
angleOffset
- The angleOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getJoinLinkCount() throws IOException, AutomationException
getJoinLinkCount
in interface IConstructionJoinLinks
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addJoinLink(int joinedPointNo, int unjoinedPointNo, int fromPointNo, int toPointNo, int parcelNo) throws IOException, AutomationException
addJoinLink
in interface IConstructionJoinLinks
joinedPointNo
- The joinedPointNo (in)unjoinedPointNo
- The unjoinedPointNo (in)fromPointNo
- The fromPointNo (in)toPointNo
- The toPointNo (in)parcelNo
- The parcelNo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getJoinLink(int i, int[] joinedPointNo, int[] unjoinedPointNo, int[] fromPointNo, int[] toPointNo, int[] parcelNo) throws IOException, AutomationException
getJoinLink
in interface IConstructionJoinLinks
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeJoinLink(int i) throws IOException, AutomationException
removeJoinLink
in interface IConstructionJoinLinks
i
- The i (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearJoinLinks() throws IOException, AutomationException
clearJoinLinks
in interface IConstructionJoinLinks
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addUnbuildableLine(int parentParcelNo, int fromPointNo, int toPointNo) throws IOException, AutomationException
addUnbuildableLine
in interface IConstructionUnbuildableLines
parentParcelNo
- The parentParcelNo (in)fromPointNo
- The fromPointNo (in)toPointNo
- The toPointNo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeUnbuildableLine(int parentParcelNo, int fromPointNo, int toPointNo) throws IOException, AutomationException
removeUnbuildableLine
in interface IConstructionUnbuildableLines
parentParcelNo
- The parentParcelNo (in)fromPointNo
- The fromPointNo (in)toPointNo
- The toPointNo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUnbuildableLines(int parentParcelNo, int count, int[] fromPointNos, int[] toPointNos) throws IOException, AutomationException
setUnbuildableLines
in interface IConstructionUnbuildableLines
parentParcelNo
- The parentParcelNo (in)count
- The count (in)fromPointNos
- The fromPointNos (in)toPointNos
- The toPointNos (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getUnbuildableLines(int parentParcelNo, int[] count, int[] fromPointNos, int[] toPointNos) throws IOException, AutomationException
getUnbuildableLines
in interface IConstructionUnbuildableLines
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearUnbuildableLines(int parentParcelNo) throws IOException, AutomationException
clearUnbuildableLines
in interface IConstructionUnbuildableLines
parentParcelNo
- The parentParcelNo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getConstructionPointCount() throws IOException, AutomationException
getConstructionPointCount
in interface IConstructionPoints
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getConstructionPoint(int i, int[] pUnjoinedPointNo, double[] pX, double[] pY) throws IOException, AutomationException
getConstructionPoint
in interface IConstructionPoints
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addConstructionPoint(int unjoinedPointNo, double x, double y) throws IOException, AutomationException
addConstructionPoint
in interface IConstructionPoints
unjoinedPointNo
- The unjoinedPointNo (in)x
- The x (in)y
- The y (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConstructionPoint(int unjoinedPointNo, double[] x, double[] y) throws IOException, AutomationException
findConstructionPoint
in interface IConstructionPoints
unjoinedPointNo
- The unjoinedPointNo (in)x
- The x (in/out: use single element array)y
- The y (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeConstructionPoint(int unjoinedPointNo) throws IOException, AutomationException
removeConstructionPoint
in interface IConstructionPoints
unjoinedPointNo
- The unjoinedPointNo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearConstructionPoints() throws IOException, AutomationException
clearConstructionPoints
in interface IConstructionPoints
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAdjustmentMethod() throws IOException, AutomationException
getAdjustmentMethod
in interface IConstructionAdjustment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAdjustmentMethod(int type) throws IOException, AutomationException
setAdjustmentMethod
in interface IConstructionAdjustment
type
- A com.esri.arcgis.geodatabaseextensions.esriParcelAdjustmentType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getStartPoint(int[] unjoinedPointNo, double[] x, double[] y) throws IOException, AutomationException
getStartPoint
in interface IConstructionAdjustment
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getEndPoint(int[] unjoinedPointNo, double[] x, double[] y) throws IOException, AutomationException
getEndPoint
in interface IConstructionAdjustment
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStartPoint(int unjoinedPointNo, double x, double y) throws IOException, AutomationException
setStartPoint
in interface IConstructionAdjustment
unjoinedPointNo
- The unjoinedPointNo (in)x
- The x (in)y
- The y (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEndPoint(int unjoinedPointNo, double x, double y) throws IOException, AutomationException
setEndPoint
in interface IConstructionAdjustment
unjoinedPointNo
- The unjoinedPointNo (in)x
- The x (in)y
- The y (in)
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 |