Interface Rule
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,org.palladiosimulator.pcm.core.entity.Entity
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,org.palladiosimulator.pcm.core.entity.NamedElement
,Notifier
,org.palladiosimulator.pcm.PCMBaseClass
,org.palladiosimulator.pcm.PCMClass
- All Known Implementing Classes:
RuleImpl
public interface Rule extends org.palladiosimulator.pcm.core.entity.Entity
A representation of the model object 'Rule'.The following features are supported:
- See Also:
PolicyPackage.getRule()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Expression
getCondition()
Returns the value of the 'Condition' containment reference.PermitType
getPermit()
Returns the value of the 'Permit' attribute.List<AllOf>
getTarget()
Returns the value of the 'Target' containment reference list.void
setCondition(Expression value)
Sets the value of the 'Condition
' containment reference.void
setPermit(PermitType value)
Sets the value of the 'Permit
' attribute.-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getPermit
PermitType getPermit()
Returns the value of the 'Permit' attribute. The default value is"PERMIT"
. The literals are from the enumerationPermitType
.- Returns:
- the value of the 'Permit' attribute.
- See Also:
PermitType
,setPermit(PermitType)
,PolicyPackage.getRule_Permit()
- Generated class or method.
- EMF model class or method.
- default="PERMIT"
-
setPermit
void setPermit(PermitType value)
Sets the value of the 'Permit
' attribute.- Parameters:
value
- the new value of the 'Permit' attribute.- See Also:
PermitType
,getPermit()
- Generated class or method.
-
getCondition
Expression getCondition()
Returns the value of the 'Condition' containment reference.- Returns:
- the value of the 'Condition' containment reference.
- See Also:
setCondition(Expression)
,PolicyPackage.getRule_Condition()
- Generated class or method.
- EMF model class or method.
- containment="true"
-
setCondition
void setCondition(Expression value)
Sets the value of the 'Condition
' containment reference.- Parameters:
value
- the new value of the 'Condition' containment reference.- See Also:
getCondition()
- Generated class or method.
-
getTarget
List<AllOf> getTarget()
Returns the value of the 'Target' containment reference list. The list contents are of typeAllOf
.- Returns:
- the value of the 'Target' containment reference list.
- See Also:
PolicyPackage.getRule_Target()
- Generated class or method.
- EMF model class or method.
- containment="true"
-
-