|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabaseextensions.CadastralJob
public class CadastralJob
A container for the properties of a Cadastral Job.
Constructor Summary | |
---|---|
CadastralJob()
Constructs a CadastralJob using ArcGIS Engine. |
|
CadastralJob(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. CadastralJob theCadastralJob = (CadastralJob) obj; |
Method Summary | |
---|---|
void |
addControlPoint(int pointID)
Adds a control point to the job. |
void |
addEditParcel(int parcelID)
Adds an edit parcel to the job. |
boolean |
equals(Object o)
Compare this object with another |
IFIDSet |
getAdjustmentAreaParcels()
All parcels for the complete area of the job. |
static String |
getClsid()
getClsid. |
String |
getCommitDate()
The date the cadastral job was committed. |
IFIDSet |
getControlPoints()
The control points for the cadastral job. |
String |
getDescription()
The cadastral job description. |
IFIDSet |
getEditParcels()
Edit parcels for the cadastral job. |
Object |
getExtendedAttribute(int fieldPosition)
The value of an extended attribute. |
int |
getID()
The ObjectID of the Cadastral Job. |
IFIDSet |
getJobParcels()
All the parcels participating in the cadastral job. |
String |
getModifiedDate()
The date the cadastral job was last modified. |
String |
getName()
The cadastral job name. |
String |
getOwner()
The owner of the cadastral job. |
String |
getStartDate()
The start date for the cadastral job. |
int |
getStatus()
The cadastral job status. |
int |
hashCode()
the hashcode for this object |
void |
removeControlPoint(int pointID)
Removes a control point from the job. |
void |
removeEditParcel(int parcelID)
Removes a parcel from the job. |
void |
setAdjustmentAreaParcels(IFIDSet adjustmentAreaParcelIDs)
All parcels for the complete area of the job. |
void |
setControlPoints(IFIDSet controlPointslIDs)
The control points for the cadastral job. |
void |
setDescription(String description)
The cadastral job description. |
void |
setEditParcels(IFIDSet editParcelIDs)
Edit parcels for the cadastral job. |
void |
setExtendedAttribute(int fieldPosition,
Object value)
The value of an extended attribute. |
void |
setName(String name)
The cadastral job name. |
void |
setOwner(String owner)
The owner of the cadastral job. |
void |
setStatus(int status)
The cadastral job status. |
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 CadastralJob() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic CadastralJob(Object obj) throws IOException
CadastralJob theCadastralJob = (CadastralJob) obj;
obj
to CadastralJob
.
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
The ObjectID of the CadastralJob.
Use the ID property to retrieve the ID attribute of the cadastral job. Use the GetJob method to retrieve a CadastralJob object from the cadastral fabric.
getID
in interface ICadastralJob
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
The description of the cadastral job.
Use this property to retrieve or set the description for the cadastral job. Use the UpdateJob method to update the cadastral job with any changes.
getDescription
in interface ICadastralJob
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String description) throws IOException, AutomationException
setDescription
in interface ICadastralJob
description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
The name of the cadastral job.
Use this property to retrieve or set the name for the cadastral job. The name must be unique. Use the UpdateJob method to update the cadastral job with any changes.
getName
in interface ICadastralJob
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface ICadastralJob
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStatus() throws IOException, AutomationException
The status of the cadastral job.
Use this property to retrieve or set the status for the cadastral job. The status value is a coded value in the status field of the Jobs table.
Valid system values:
0 - Active
1 - Committed
2 - Remote
3 - Hold
getStatus
in interface ICadastralJob
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStatus(int status) throws IOException, AutomationException
setStatus
in interface ICadastralJob
status
- The status (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getOwner() throws IOException, AutomationException
The owner name of the cadastral job.
getOwner
in interface ICadastralJob
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOwner(String owner) throws IOException, AutomationException
setOwner
in interface ICadastralJob
owner
- The owner (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getExtendedAttribute(int fieldPosition) throws IOException, AutomationException
getExtendedAttribute
in interface ICadastralJob
fieldPosition
- The fieldPosition (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtendedAttribute(int fieldPosition, Object value) throws IOException, AutomationException
setExtendedAttribute
in interface ICadastralJob
fieldPosition
- The fieldPosition (in)value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getStartDate() throws IOException, AutomationException
Use this property to retrieve the start date for the cadastral job.
getStartDate
in interface ICadastralJob
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getModifiedDate() throws IOException, AutomationException
Use this property to retrieve the date for the last time the cadastral job was modified.
getModifiedDate
in interface ICadastralJob
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCommitDate() throws IOException, AutomationException
The date the job was commited for the cadastral fabric. Use the CommitDate property to return the date the cadastral job was committed to the cadastral fabric. This is the date that the Status property of the cadastral job was changed to committed.
getCommitDate
in interface ICadastralJob
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFIDSet getEditParcels() throws IOException, AutomationException
The edit parcels for the cadastral job.
The EditParcels property can be used to retrieve or set which parcels will participate as edit parcels in the cadastral job. The FIDSet parameter contains the objectIDs of the edit parcel features in the job. Any existing edit parcels in the job will be replaced by the FIDSet set by this property. To individually add a parcel to the existing set, use the AddEditParcel method on this interface. Use the UpdateJob method to update the cadastral job with any changes.
The parcels in a cadastral job that are marked as edit parcels for a job may not participate as edit parcels in any other job (they may, however, participate as standard job parcels) until the job is committed to the cadastral fabric.
The id's for the edit parcels are added to the JobObjects table. When the job is committed to the cadastral fabric, these rows are removed from the JobObjects table.
getEditParcels
in interface ICadastralJob
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEditParcels(IFIDSet editParcelIDs) throws IOException, AutomationException
setEditParcels
in interface ICadastralJob
editParcelIDs
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFIDSet getAdjustmentAreaParcels() throws IOException, AutomationException
The AdjustmentAreaParcels property can be used to retrieve or set which parcels will participate as area of adjustment parcels in the cadastral job. The FIDSet parameter contains the objectIDs of the adjustment area parcel features in the job.
Any existing adjustment area parcels in the job will be replaced by the FIDSet set by this property. To individually add a parcel to the existing set, use the AddAdjustmentParcel method on this interface. Use the UpdateJob method to update the cadastral job with any changes.
The attributes of parcels participating as area of adjustment parcels cannot be edited. Only the geometry may be edited indirectly via an adjustment in the cadastral editor.
getAdjustmentAreaParcels
in interface ICadastralJob
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAdjustmentAreaParcels(IFIDSet adjustmentAreaParcelIDs) throws IOException, AutomationException
setAdjustmentAreaParcels
in interface ICadastralJob
adjustmentAreaParcelIDs
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFIDSet getControlPoints() throws IOException, AutomationException
The control points for the cadastral job.
The ControlPoints property can be used to retrieve or set which control points will participate in the cadastral job. The FIDSet parameter contains the objectIDs of the control point features in the job.
Any existing control points in the job will be replaced by the FIDSet set by this property. To individually add a control point to the existing set, use the AddControl method on this interface. Use the UpdateJob method to update the cadastral job with any changes.
getControlPoints
in interface ICadastralJob
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setControlPoints(IFIDSet controlPointslIDs) throws IOException, AutomationException
setControlPoints
in interface ICadastralJob
controlPointslIDs
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addEditParcel(int parcelID) throws IOException, AutomationException
Add an edit parcel to the job.
Use the AddEditParcel method to add an edit parcel to the cadastral job. Call the ICadastralFabric::UpdateJob method to store the changes. The update will fail if the parcel is marked for edits in another job.
addEditParcel
in interface ICadastralJob
parcelID
- The parcelID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeEditParcel(int parcelID) throws IOException, AutomationException
Remove an edit parcel from the job.
Use the RemoveEditParcelmethod to remove an edit parcel from the cadastral job. Call the ICadastralFabric::UpdateJob method to store the changes.
removeEditParcel
in interface ICadastralJob
parcelID
- The parcelID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addControlPoint(int pointID) throws IOException, AutomationException
Add a control point to the job.
Use the AddControlPoint method to add a control point to the cadastral job. Call the ICadastralFabric::UpdateJob method to store the changes.
addControlPoint
in interface ICadastralJob
pointID
- The pointID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeControlPoint(int pointID) throws IOException, AutomationException
Remove a control point from the job.
Use the RemoveControlPoint method to remove a control point to the cadastral job. Call the ICadastralFabric::UpdateJob method to store the changes.
removeControlPoint
in interface ICadastralJob
pointID
- The pointID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFIDSet getJobParcels() throws IOException, AutomationException
All the parcels participating in the cadastral job.
Use this property to retrieve the FIDSet containing the ObjectIDs of all the parcels participating in the cadastral job.
Question:
What is the difference between
ICadastralJob::AdjustmentAreaParcels and
ICadastralJob::JobParcels?
Answer:
The get property ::AdjustmentAreaParcels will return the
JobParcels minus the edit parcels in the cadastral job.
getJobParcels
in interface ICadastralJob
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 |