public class RuleBaseImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements RuleBase
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| Modifier and Type | Method and Description |
|---|---|
void |
add(RuleSet ruleSet) |
java.util.List<java.lang.String> |
apply(LoadflowAlgorithm algo,
IPSSMsgHub msg) |
boolean |
applyForPriority(Network net,
int priority,
IPSSMsgHub msg) |
org.eclipse.emf.ecore.EObject |
deserialize(java.lang.String modelString) |
org.eclipse.emf.ecore.EObject |
deserialize(java.lang.String modelString,
Network net) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
org.eclipse.emf.common.util.EList<RuleSet> |
getRuleSets() |
int |
getUpperPriorityValue() |
SecAnalysisViolationType |
getViolateType() |
double |
getVLowerLimitPU() |
double |
getVUpperLimitPU() |
boolean |
isApplyRuleBase() |
java.lang.String |
serialize() |
void |
setApplyRuleBase(boolean newApplyRuleBase) |
void |
setViolateType(SecAnalysisViolationType newViolateType) |
void |
setVLowerLimitPU(double newVLowerLimitPU) |
void |
setVoltageLimit(double upperLimit,
double lowerLimit) |
void |
setVUpperLimitPU(double newVUpperLimitPU) |
java.lang.String |
toString() |
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic SecAnalysisViolationType getViolateType()
getViolateType in interface RuleBaseSecAnalysisViolationType,
RuleBase.setViolateType(SecAnalysisViolationType),
MCaseRulePackage.getRuleBase_ViolateType()public void setViolateType(SecAnalysisViolationType newViolateType)
setViolateType in interface RuleBasenewViolateType - the new value of the 'Violate Type' attribute.SecAnalysisViolationType,
RuleBase.getViolateType()public double getVUpperLimitPU()
getVUpperLimitPU in interface RuleBaseRuleBase.setVUpperLimitPU(double),
MCaseRulePackage.getRuleBase_VUpperLimitPU()public void setVUpperLimitPU(double newVUpperLimitPU)
setVUpperLimitPU in interface RuleBasenewVUpperLimitPU - the new value of the 'VUpper Limit PU' attribute.RuleBase.getVUpperLimitPU()public double getVLowerLimitPU()
getVLowerLimitPU in interface RuleBaseRuleBase.setVLowerLimitPU(double),
MCaseRulePackage.getRuleBase_VLowerLimitPU()public void setVLowerLimitPU(double newVLowerLimitPU)
setVLowerLimitPU in interface RuleBasenewVLowerLimitPU - the new value of the 'VLower Limit PU' attribute.RuleBase.getVLowerLimitPU()public boolean isApplyRuleBase()
isApplyRuleBase in interface RuleBaseRuleBase.setApplyRuleBase(boolean),
MCaseRulePackage.getRuleBase_ApplyRuleBase()public void setApplyRuleBase(boolean newApplyRuleBase)
setApplyRuleBase in interface RuleBasenewApplyRuleBase - the new value of the 'Apply Rule Base' attribute.RuleBase.isApplyRuleBase()public org.eclipse.emf.common.util.EList<RuleSet> getRuleSets()
getRuleSets in interface RuleBaseMCaseRulePackage.getRuleBase_RuleSets()public java.util.List<java.lang.String> apply(LoadflowAlgorithm algo, IPSSMsgHub msg) throws InterpssException
apply in interface RuleBaseInterpssExceptionpublic boolean applyForPriority(Network net, int priority, IPSSMsgHub msg) throws InterpssException
applyForPriority in interface RuleBaseInterpssExceptionpublic int getUpperPriorityValue()
getUpperPriorityValue in interface RuleBasepublic void setVoltageLimit(double upperLimit,
double lowerLimit)
setVoltageLimit in interface RuleBasepublic java.lang.String serialize()
public org.eclipse.emf.ecore.EObject deserialize(java.lang.String modelString,
Network net)
throws InterpssException
InterpssExceptionpublic org.eclipse.emf.ecore.EObject deserialize(java.lang.String modelString)
throws InterpssException
InterpssExceptionpublic org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl