|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The properties used to register a dataset for archiving and for describing an already registered object.
The EnableArchiving method takes a set of ArchiveRegistrationInfo objects. The IArchiveRegistrationInfo interface can be leveraged to define the archive registration configuration. The interface contains four read/write properties which define the customization. The DatasetName property refers to the name of the dataset this registration info object applies to. The ArchiveTableName property specifies the name of the archive table that will be created by the registration process. The FromFieldName and ToFieldName properties specify the historical schema for the archive table.
It is important to note that unless there is an entry in the set for each archive object a default schema setup will be used during the time of registration.
| Method Summary | |
java.lang.String |
getArchiveTableName()
The name of the archive table. |
java.lang.String |
getDatasetName()
The name of the dataset this registration information applies to. |
java.lang.String |
getFromFieldName()
The name of the FROM field. |
java.lang.String |
getOIDFieldName()
The name of the archive object id field. |
java.lang.Object |
getSeedTimeStamp()
The initial timestamp when archiving was enabled. |
java.lang.String |
getToFieldName()
The name of the TO field. |
void |
setArchiveTableName(java.lang.String archiveTableName)
The name of the archive table. |
void |
setDatasetName(java.lang.String name)
The name of the dataset this registration information applies to. |
void |
setFromFieldName(java.lang.String fromField)
The name of the FROM field. |
void |
setOIDFieldName(java.lang.String oidField)
The name of the archive object id field. |
void |
setToFieldName(java.lang.String toField)
The name of the TO field. |
| Method Detail |
public java.lang.String getDatasetName()
throws java.io.IOException,
AutomationException
The DatasetName property refers to the name of the dataset the registration info object applies to. This property is used as an identifier when the dataset is registered for archiving.
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDatasetName(java.lang.String name)
throws java.io.IOException,
AutomationException
name - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getArchiveTableName()
throws java.io.IOException,
AutomationException
The ArchiveTableName property is used to specify a table's name for the archive table that is created when a dataset is registered for archiving. If no name is specified through the ArchiveTableName property the name will default to the object name appended with an "_H", for example "PARCELS_H".
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setArchiveTableName(java.lang.String archiveTableName)
throws java.io.IOException,
AutomationException
archiveTableName - The archiveTableName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getFromFieldName()
throws java.io.IOException,
AutomationException
The FromFieldName property is used to specify the field name for the from date field in the archive table. If no user defined name is specified the field name will default to "GDB_FROM_DATE".
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFromFieldName(java.lang.String fromField)
throws java.io.IOException,
AutomationException
fromField - The fromField (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getToFieldName()
throws java.io.IOException,
AutomationException
The ToFieldName property is used to specify the field name for the to date field in the archive table. If no user defined name is specified the field name will default to "GDB_TO_DATE".
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setToFieldName(java.lang.String toField)
throws java.io.IOException,
AutomationException
toField - The toField (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getOIDFieldName()
throws java.io.IOException,
AutomationException
The OIDFieldName property is used to specify the field name for the archive object identifier field which is a unique field that is maintained in the archive table. If no user defined name is specified the field name will default to "GDB_ARCHIVE_OID".
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOIDFieldName(java.lang.String oidField)
throws java.io.IOException,
AutomationException
oidField - The oidField (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getSeedTimeStamp()
throws java.io.IOException,
AutomationException
java.io.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 | |||||||||