Interface IlrElementDetails
-
- All Superinterfaces:
- java.lang.Cloneable, ilog.rules.teamserver.model.IlrCompositeObject, ilog.rules.commonbrm.model.IlrElement, IlrElementHandle, IlrElementSummary, java.io.Serializable
- All Known Subinterfaces:
- IlrAbstractQuery, IlrAction, IlrActionObject, IlrActionRule, IlrActivity, IlrActivityComment, IlrActivityCommentAccess, IlrActivityCommentAttachment, IlrActivityCommentEvent, IlrActivityCommentLink, IlrActivityLock, IlrActivitySubscription, IlrActivityUserComment, IlrArgument, IlrBaseline, IlrBasicLock, IlrBasicModelElement, IlrBOM, IlrBOM2XOMMapping, IlrBOMEntry, IlrBOMPathEntry, IlrBranch, IlrBRLRule, IlrBusinessObject, IlrBusinessRule, IlrChangeAct, IlrChart, IlrConnectionEntry, IlrDataConnection, IlrDecisionTable, IlrDecisionTree, IlrDefinition, IlrDependency, IlrDepGroup, IlrDeployment, IlrDeploymentError, IlrDeploymentVersionValue, IlrDepOperation, IlrDepOperationProperty, IlrDepPropertyTag, IlrDepTarget, IlrDepVersionPolicy, IlrDsDeploymentBsln, IlrDSDeploymentReport, IlrEvent, IlrEventArtifact, IlrEventElement, IlrEventFlow, IlrEventObject, IlrEventObjectArtifact, IlrEventRule, IlrEventRuleArtifact, IlrEventRuleGroup, IlrExtractor, IlrFile, IlrFilter, IlrFunction, IlrFunctionTask, IlrHierarchy, IlrInitialValue, IlrInputData, IlrKPI, IlrLock, IlrManagedBranch, IlrMergeReport, IlrMessageMap, IlrMetric, IlrModelElement, IlrNamedConstant, IlrOperation, IlrOperationDeployedVersion, IlrOperationLatestDeployedVersion, IlrOperationNewDeployedVersion, IlrOperationTag, IlrOperationVariable, IlrOverriddenRule, IlrPackageElement, IlrParameter, IlrProfile, IlrProjectBOMEntry, IlrProjectElement, IlrProjectInfo, IlrProxy, IlrQuery, IlrReferencingBsln, IlrRelease, IlrReportOperationInfo, IlrReportTestSuiteInfo, IlrResource, IlrRule, IlrRuleApp, IlrRuleAppProperty, IlrRuleArtifact, IlrRuleArtifactTag, IlrRuleflow, IlrRuleflowTag, IlrRulePackage, IlrRuleProject, IlrRuleProjectTag, IlrRuleset, IlrRulesetProperty, IlrRuleTask, IlrScenarioSuite, IlrScenarioSuiteKPIReport, IlrScenarioSuiteReport, IlrScenarioSuiteResource, IlrScenarioTestReport, IlrSchema, IlrScopeElement, IlrServer, IlrSimulation, IlrSimulationConfiguration, IlrSimulationElement, IlrSimulationModel, IlrSimulationReport, IlrSmartView, IlrSnapshot, IlrSystemLock, IlrTag, IlrTask, IlrTechnicalRule, IlrTemplate, IlrTestCase, IlrTestCaseResource, IlrTestDetail, IlrTestElement, IlrTestOperationInfo, IlrTestReport, IlrTestReport, IlrTestSuite, IlrTestSuite, IlrTimestampBsln, IlrTypedElement, IlrUserSetting, IlrValidationAct, IlrValidationElement, IlrVariable, IlrVariableSet, IlrVocabulary
public interface IlrElementDetails extends IlrElementHandle, IlrElementSummary, java.lang.Cloneable, ilog.rules.teamserver.model.IlrCompositeObject
Details of a Decision Center element.This is the raw representation of the database row where this element is or will be stored.
The
getRawValue
andsetRawValue
methods let you access the content of the element details.
-
-
Method Summary
Methods Modifier and Type Method and Description IlrElementDetails
cloneElement()
Creates a copy of the details of this element.IlrElementHandle
getContainer()
Gets the container of this element if the element is part of an aggregation (that is, referenced through a containment reference by its container).java.lang.Object
getRawValue(org.eclipse.emf.ecore.EStructuralFeature p)
Gets the value of the given feature.void
setRawValue(org.eclipse.emf.ecore.EStructuralFeature sf, java.lang.Object value)
Sets the value of the given feature.void
setRawValueNoCheck(org.eclipse.emf.ecore.EStructuralFeature sf, java.lang.Object value)
Sets the value of the given feature without checking if the feature is read-only.-
Methods inherited from interface ilog.rules.teamserver.model.IlrElementSummary
getName
-
Methods inherited from interface ilog.rules.teamserver.model.IlrElementHandle
eClass, equals, equals, getModelInfo, getSession, getType, getValue, getValue, hashCode, isNew, toIdString
-
-
-
-
Method Detail
-
getRawValue
java.lang.Object getRawValue(org.eclipse.emf.ecore.EStructuralFeature p)
Gets the value of the given feature.Since the element details only represent a database row, the features accessible through this API are the following:
- EAttribute
- EReference, many = false, containment = false
If the value of the feature you want does not correspond to one of these cases, you have to use session methods that
perform database calls.
NOTE: Noncontainment multi-valued references (many = true, containment = false) are not supported in Decision Center.
-
setRawValue
void setRawValue(org.eclipse.emf.ecore.EStructuralFeature sf, java.lang.Object value) throws IlrReadOnlyException
Sets the value of the given feature.This is done after checking that the value can be set (not a read-only feature). Since the element details only represent a database row, the features you can set through this API are the following:
- EAttribute
- EReference, many = false, containment = false
addModifiedElement
, and commit usingIlrSession.commit
.NOTE: Noncontainment multi-valued references (many = true, containment = false) are not supported in Decision Center.
- Throws:
IlrReadOnlyException
- If the feature cannot be set because it is read-only.- See Also:
IlrCommitableObject.addModifiedElement(org.eclipse.emf.ecore.EReference, IlrElementDetails)
,IlrSession.commit(IlrCommitableObject)
-
setRawValueNoCheck
void setRawValueNoCheck(org.eclipse.emf.ecore.EStructuralFeature sf, java.lang.Object value)
Sets the value of the given feature without checking if the feature is read-only.
-
getContainer
IlrElementHandle getContainer()
Gets the container of this element if the element is part of an aggregation (that is, referenced through a containment reference by its container).- Returns:
- A handle on the container, or
null
if this element is not part of an aggregation.
-
cloneElement
IlrElementDetails cloneElement()
Creates a copy of the details of this element.- Returns:
- The element details.
-
-