Interface IBaseField
- 
- All Superinterfaces:
- com4j.Com4jObject,- IObjectLockingSupport
 - All Known Subinterfaces:
- IAnalysisItem,- IAnalysisItemFolder,- IAssetRelation,- IAssetRepositoryItem,- IAttachment,- IAuditProperty,- IAuditRecord,- IBaseFieldEx,- IBaseFieldExMail,- IBaseline,- IBaselineRoot,- IBaseParam,- IBPComponent,- IBPIteration,- IBPIterationParam,- IBPParam,- IBPStepParam,- IBug,- IBusinessProcess,- IBusinessProcess2,- IBusinessProcess3,- IChange,- IChangeEntry,- IComparison,- IComparisonNode,- IComponent,- IComponent2,- IComponent3,- IComponentFolder,- IComponentParam,- IComponentStep,- ICoverageEntity,- ICycle,- IDashboardFolder,- IDashboardPage,- IDashboardPageItem,- IDesignStep,- IFavorite,- IFavoriteFolder,- IHost,- IHostGroup,- ILibrary,- ILibraryFolder,- ILibraryPart,- ILink,- IParameterValue,- IQCResource,- IQCResourceFolder,- IRelease,- IReleaseFolder,- IReq,- IReq2,- IRTParam,- IRun,- IRun2,- IStep,- IStep2,- ITask,- ITaskLog,- ITest,- ITestParameter,- ITestSet,- ITrace,- ITSTest,- ITSTest2,- ITSTest3,- IUserAsset
 
 public interface IBaseField extends IObjectLockingSupport Represents a basic data field or entity, such as an attachment.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanautoPost()If true, the database is updated immediately when the field value changes.voidautoPost(boolean pVal)If true, the database is updated immediately when the field value changes.java.lang.Objectfield(java.lang.String fieldName)The value of the specified field.voidfield(java.lang.String fieldName, java.lang.Object pVal)The value of the specified field.java.lang.Objectid()The item ID.booleanmodified()Checks if the item has been modified since last refresh or post operation.voidpost()Posts all changed values into database.voidrefresh()Reads saved values, overwriting values in memory.voidundo()Undoes changes to field values that have not been posted.booleanvirtual()Checks if this is a virtual item, that is, an item that does not have a corresponding database record.- 
Methods inherited from interface com4j.Com4jObjectadvise, dispose, equals, getComThread, getIUnknownPointer, getPointer, getPtr, hashCode, is, queryInterface, setName, toString
 - 
Methods inherited from interface step.repository.alm.otaclient.IObjectLockingSupportisLocked, lockObject, unLockObject
 
- 
 
- 
- 
- 
Method Detail- 
fieldjava.lang.Object field(java.lang.String fieldName) The value of the specified field. Getter method for the COM property "Field" - Parameters:
- fieldName- Mandatory java.lang.String parameter.
- Returns:
- Returns a value of type java.lang.Object
 
 - 
fieldvoid field(java.lang.String fieldName, java.lang.Object pVal)The value of the specified field. Setter method for the COM property "Field" - Parameters:
- fieldName- Mandatory java.lang.String parameter.
- pVal- Mandatory java.lang.Object parameter.
 
 - 
idjava.lang.Object id() The item ID. Getter method for the COM property "ID" - Returns:
- Returns a value of type java.lang.Object
 
 - 
autoPostboolean autoPost() If true, the database is updated immediately when the field value changes. Getter method for the COM property "AutoPost" - Returns:
- Returns a value of type boolean
 
 - 
autoPostvoid autoPost(boolean pVal) If true, the database is updated immediately when the field value changes. Setter method for the COM property "AutoPost" - Parameters:
- pVal- Mandatory boolean parameter.
 
 - 
postvoid post() Posts all changed values into database. 
 - 
refreshvoid refresh() Reads saved values, overwriting values in memory. 
 - 
undovoid undo() Undoes changes to field values that have not been posted. 
 - 
modifiedboolean modified() Checks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date. Getter method for the COM property "Modified" - Returns:
- Returns a value of type boolean
 
 - 
virtualboolean virtual() Checks if this is a virtual item, that is, an item that does not have a corresponding database record. Getter method for the COM property "Virtual" - Returns:
- Returns a value of type boolean
 
 
- 
 
-