|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IlrElementDetails
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
and setRawValue
methods let you access the content of the element details.
Method Summary | |
---|---|
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). |
Object |
getRawValue(org.eclipse.emf.ecore.EStructuralFeature p)
Gets the value of the given feature. |
void |
setRawValue(org.eclipse.emf.ecore.EStructuralFeature sf,
Object value)
Sets the value of the given feature. |
void |
setRawValueNoCheck(org.eclipse.emf.ecore.EStructuralFeature sf,
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, hashCode, isNew, toIdString |
Methods inherited from interface ilog.rules.commonbrm.model.IlrElement |
---|
getPropertyValue, getPropertyValue, isInstanceOf |
Method Detail |
---|
Object getRawValue(org.eclipse.emf.ecore.EStructuralFeature p)
Since the element details only represent a database row, the features accessible through this API are the following:
NOTE: Noncontainment multi-valued references (many = true, containment = false) are not supported in Decision Center.
void setRawValue(org.eclipse.emf.ecore.EStructuralFeature sf, Object value) throws IlrReadOnlyException
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:
addModifiedElement
, and commit using IlrSession.commit
.
NOTE: Noncontainment multi-valued references (many = true, containment = false) are not supported in Decision Center.
IlrReadOnlyException
- If the feature cannot be set because it is read-only.IlrCommitableObject.addModifiedElement(org.eclipse.emf.ecore.EReference, IlrElementDetails)
,
IlrSession.commit(IlrCommitableObject)
void setRawValueNoCheck(org.eclipse.emf.ecore.EStructuralFeature sf, Object value)
setRawValue(org.eclipse.emf.ecore.EStructuralFeature, Object)
IlrElementHandle getContainer()
null
if this element is not part of an aggregation.IlrElementDetails cloneElement()
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |