Interface IBaseField
-
- All Superinterfaces:
com4j.Com4jObject
,IObjectLockingSupport
- All Known Subinterfaces:
IAlmEnvironment
,IAnalysisItem
,IAnalysisItem2
,IAnalysisItemFile
,IAnalysisItemFolder
,IAnalysisItemFolder2
,IAnalysisSegment
,IAssetRelation
,IAssetRelation2
,IAssetRepositoryItem
,IAttachment
,IAttachment3
,IAuditProperty
,IAuditRecord
,IBaseFieldEx
,IBaseFieldExMail
,IBaseline
,IBaselineRoot
,IBaseParam
,IBPComponent
,IBPComponent2
,IBPIteration
,IBPIteration2
,IBPIterationParam
,IBPMLink
,IBPModel
,IBPModelElement
,IBPModelFolder
,IBPModelPath
,IBPParam
,IBPStepParam
,IBug
,IBug2
,IBusinessProcess
,IBusinessProcess2
,IBusinessProcess3
,IBusinessProcess4
,IBusinessProcess5
,IBusinessProcess6
,IChange
,IChangeEntry
,IComparison
,IComparison1
,IComparisonNode
,IComponent
,IComponent2
,IComponent3
,IComponent4
,IComponent5
,IComponentFolder
,IComponentParam
,IComponentParam2
,IComponentParam3
,IComponentStep
,IConfigurationCoverage
,IContentDefinition
,IContentPart
,IContentRoot
,ICoverageEntity
,ICriterionCoverage
,ICycle
,IDashboardFolder
,IDashboardFolder2
,IDashboardPage
,IDashboardPage2
,IDashboardPage3
,IDashboardPage4
,IDashboardPageItem
,IDeletedAssetInfo
,IDesignStep
,IDiagram
,IDiagramElement
,IEventLog
,IFacet
,IFavorite
,IFavoriteFolder
,IHost
,IHostGroup
,IKPI
,IKPIDefinition
,IKPIMilestoneScopeItem
,ILibrary
,ILibraryFolder
,ILibraryPart
,ILink
,IMilestone
,IMilestoneScopeItem
,IParameterValue
,IPublicEntityKey
,IQCResource
,IQCResource2
,IQCResourceFolder
,IRelease
,IRelease2
,IReleaseFolder
,IReportToReportProjectTemplateLink
,IReportUserTemplate
,IReq
,IReq2
,IReq3
,IResult
,IRTParam
,IRun
,IRun2
,IRun3
,IRun4
,IRun5
,IRunCriterion
,IRunIteration
,IScopeItem
,IStep
,IStep2
,ITask
,ITaskLog
,ITest
,ITest2
,ITest3
,ITestConfig
,ITestCoverage
,ITestCriterion
,ITestFolder
,ITestLabFolder
,ITestParameter
,ITestSet
,ITestSet2
,ITestSet3
,ITestSet4
,IThresholdValue
,ITrace
,ITSTest
,ITSTest2
,ITSTest3
,ITSTest4
,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.java.lang.Object
field(java.lang.String fieldName)
The value of the specified field.void
field(java.lang.String fieldName, java.lang.Object pVal)
The value of the specified field.java.lang.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.v16.otaclient.IObjectLockingSupport
isLocked, lockObject, unLockObject
-
-
-
-
Method Detail
-
field
java.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
-
field
void 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.
-
id
java.lang.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
-
-