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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
autoPost()
If true, the database is updated immediately when the field value changes.void
autoPost(boolean pVal)
If true, the database is updated immediately when the field value changes.Object
field(String fieldName)
The value of the specified field.void
field(String fieldName, Object pVal)
The value of the specified field.Object
id()
The item ID.boolean
modified()
Checks if the item has been modified since last refresh or post operation.void
post()
Posts all changed values into database.void
refresh()
Reads saved values, overwriting values in memory.void
undo()
Undoes changes to field values that have not been posted.boolean
virtual()
Checks if this is a virtual item, that is, an item that does not have a corresponding database record.-
Methods inherited from interface com4j.Com4jObject
advise, dispose, equals, getComThread, getIUnknownPointer, getPointer, getPtr, hashCode, is, queryInterface, setName, toString
-
Methods inherited from interface step.repository.alm.otaclient.IObjectLockingSupport
isLocked, lockObject, unLockObject
-
-
-
-
Method Detail
-
field
Object field(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
-
field
void field(String fieldName, 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.
-
id
Object id()
The item ID.
Getter method for the COM property "ID"
- Returns:
- Returns a value of type java.lang.Object
-
autoPost
boolean 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
-
autoPost
void 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.
-
post
void post()
Posts all changed values into database.
-
refresh
void refresh()
Reads saved values, overwriting values in memory.
-
undo
void undo()
Undoes changes to field values that have not been posted.
-
modified
boolean 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
-
virtual
boolean 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
-
-