public static final Iterable<Object[]> pattern_LocationLink_2_3_findcontext_blackBBBBBBB(MeterAssetMMXUPair pair, MeterAsset asset, LocationToLocation locationCorr, Location location, PMUVoltageMeter consumer, outagePreventionJointarget.Location trgLocation, MeterAssetToPMUVoltageMeter assetToPMU) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (location.equals(asset.getLocation())) { if (asset.equals(pair.getA())) { if (location.equals(locationCorr.getSource())) { if (trgLocation.equals(locationCorr.getTarget())) { if (consumer.equals(assetToPMU.getTarget())) { if (asset.equals(assetToPMU.getSource())) { _result.add(new Object[] { pair, asset, locationCorr, location, consumer, trgLocation, assetToPMU }); } } } } } } return _result; }
public static final Iterable<Object[]> pattern_SubLoadArea_2_3_findcontext_blackBBBBBBBB(MeterAsset asset, ConformLoadGroup srcGroup, outagePreventionJointarget.ConformLoadGroup trgGroup, gluemodel.CIM.IEC61970.LoadModel.SubLoadArea srcArea, MeterAssetPhysicalDevicePair pair, ServiceDeliveryPoint srcDeliver, ConformLoadGroupToConformLoadGroup groupToGroup, ConformLoad srcConsumer) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (srcDeliver.equals(asset.getServiceDeliveryPoint())) { if (srcArea.equals(srcGroup.getSubLoadArea())) { if (asset.equals(pair.getA())) { if (trgGroup.equals(groupToGroup.getTarget())) { if (srcGroup.equals(groupToGroup.getSource())) { if (srcGroup.equals(srcConsumer.getLoadGroup())) { if (srcConsumer.equals(srcDeliver.getEnergyConsumer())) { _result.add(new Object[] { asset, srcGroup, trgGroup, srcArea, pair, srcDeliver, groupToGroup, srcConsumer }); } } } } } } } return _result; }
public static final Iterable<Object[]> pattern_SDPLocation_10_2_testcorematchandDECs_blackFFFB( EMoflonEdge _edge_Location) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); EObject tmpAsset = _edge_Location.getSrc(); if (tmpAsset instanceof MeterAsset) { MeterAsset asset = (MeterAsset) tmpAsset; EObject tmpSrcLocation = _edge_Location.getTrg(); if (tmpSrcLocation instanceof gluemodel.CIM.IEC61968.Metering.SDPLocation) { gluemodel.CIM.IEC61968.Metering.SDPLocation srcLocation = (gluemodel.CIM.IEC61968.Metering.SDPLocation) tmpSrcLocation; if (srcLocation.equals(asset.getLocation())) { for (MeterAssetMMXUPair pair : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetMMXUPair.class, "a")) { _result.add(new Object[] { srcLocation, asset, pair, _edge_Location }); } } } } return _result; }
public static final Iterable<Object[]> pattern_LocationLink_2_2_corematch_blackBBFBFFFB(MeterAssetMMXUPair pair, MeterAsset asset, Location location, Match match) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); for (LocationToLocation locationCorr : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(location, LocationToLocation.class, "source")) { outagePreventionJointarget.Location trgLocation = locationCorr.getTarget(); if (trgLocation != null) { for (MeterAssetToPMUVoltageMeter assetToPMU : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetToPMUVoltageMeter.class, "source")) { PMUVoltageMeter consumer = assetToPMU.getTarget(); if (consumer != null) { _result.add(new Object[] { pair, asset, locationCorr, location, consumer, trgLocation, assetToPMU, match }); } } } } return _result; }
public static final Iterable<Object[]> pattern_LocationLink_10_2_testcorematchandDECs_blackFFFB( EMoflonEdge _edge_Location) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); EObject tmpAsset = _edge_Location.getSrc(); if (tmpAsset instanceof MeterAsset) { MeterAsset asset = (MeterAsset) tmpAsset; EObject tmpLocation = _edge_Location.getTrg(); if (tmpLocation instanceof Location) { Location location = (Location) tmpLocation; if (location.equals(asset.getLocation())) { for (MeterAssetMMXUPair pair : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetMMXUPair.class, "a")) { _result.add(new Object[] { pair, asset, location, _edge_Location }); } } } } return _result; }
public static final Iterable<Object[]> pattern_ServiceDeliveryPointLinkMeterAsset_2_2_corematch_blackBFFBFFBB( MeterAssetPhysicalDevicePair pair, MeterAsset asset, ServiceDeliveryPoint srcDeliver, Match match) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); for (ServiceDeliveryPointToServiceDeliveryPoint deliverToDeliver : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(srcDeliver, ServiceDeliveryPointToServiceDeliveryPoint.class, "source")) { outagePreventionJointarget.ServiceDeliveryPoint trgDeliver = deliverToDeliver.getTarget(); if (trgDeliver != null) { for (MeterAssetToPrivateMeterVoltage assetToMeter : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetToPrivateMeterVoltage.class, "source")) { PrivateMeterVoltage meter = assetToMeter.getTarget(); if (meter != null) { _result.add(new Object[] { pair, trgDeliver, deliverToDeliver, asset, assetToMeter, meter, srcDeliver, match }); } } } } return _result; }
public static final Iterable<Object[]> pattern_ServiceDeliveryPointLinkMeterAsset_2_3_findcontext_blackBBBBBBB( MeterAssetPhysicalDevicePair pair, outagePreventionJointarget.ServiceDeliveryPoint trgDeliver, ServiceDeliveryPointToServiceDeliveryPoint deliverToDeliver, MeterAsset asset, MeterAssetToPrivateMeterVoltage assetToMeter, PrivateMeterVoltage meter, ServiceDeliveryPoint srcDeliver) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (trgDeliver.equals(deliverToDeliver.getTarget())) { if (srcDeliver.equals(asset.getServiceDeliveryPoint())) { if (meter.equals(assetToMeter.getTarget())) { if (asset.equals(pair.getA())) { if (srcDeliver.equals(deliverToDeliver.getSource())) { if (asset.equals(assetToMeter.getSource())) { _result.add(new Object[] { pair, trgDeliver, deliverToDeliver, asset, assetToMeter, meter, srcDeliver }); } } } } } } return _result; }
public static final Iterable<Object[]> pattern_ServiceDeliveryPointLinkMeterAsset_10_2_testcorematchandDECs_blackFFFB( EMoflonEdge _edge_ServiceDeliveryPoint) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); EObject tmpAsset = _edge_ServiceDeliveryPoint.getSrc(); if (tmpAsset instanceof MeterAsset) { MeterAsset asset = (MeterAsset) tmpAsset; EObject tmpSrcDeliver = _edge_ServiceDeliveryPoint.getTrg(); if (tmpSrcDeliver instanceof ServiceDeliveryPoint) { ServiceDeliveryPoint srcDeliver = (ServiceDeliveryPoint) tmpSrcDeliver; if (srcDeliver.equals(asset.getServiceDeliveryPoint())) { for (MeterAssetPhysicalDevicePair pair : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetPhysicalDevicePair.class, "a")) { _result.add(new Object[] { pair, asset, srcDeliver, _edge_ServiceDeliveryPoint }); } } } } return _result; }
public static final Iterable<Object[]> pattern_PositionPointLink_2_3_findcontext_blackBBBBBBBB(Location srcLocation, LocationToLocation locationToLocation, PositionPoint positionPoint, outageDetectionJointarget.PositionPoint trgPositionPoint, outageDetectionJointarget.Location trgLocation, MeterAssetPhysicalDevicePair pair, MeterAsset asset, PositionPointToPositionPoint positionCorr) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (trgLocation.equals(locationToLocation.getTarget())) { if (asset.equals(pair.getA())) { if (srcLocation.equals(locationToLocation.getSource())) { if (srcLocation.equals(asset.getLocation())) { if (positionPoint.equals(srcLocation.getPosition())) { if (trgPositionPoint.equals(positionCorr.getTarget())) { if (positionPoint.equals(positionCorr.getSource())) { _result.add(new Object[] { srcLocation, locationToLocation, positionPoint, trgPositionPoint, trgLocation, pair, asset, positionCorr }); } } } } } } } return _result; }
public static final Iterable<Object[]> pattern_LoadArea_2_3_findcontext_blackBBBBBBBBB(SubLoadArea srcArea, ConformLoadGroup srcGroup, outagePreventionJointarget.SubLoadArea trgArea, MeterAsset asset, MeterAssetPhysicalDevicePair pair, ConformLoad srcConsumer, gluemodel.CIM.IEC61970.LoadModel.LoadArea srcLoadArea, SubLoadAreaToSubLoadArea areaToArea, ServiceDeliveryPoint srcDeliver) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (srcDeliver.equals(asset.getServiceDeliveryPoint())) { if (srcLoadArea.equals(srcArea.getLoadArea())) { if (srcArea.equals(srcGroup.getSubLoadArea())) { if (srcGroup.equals(srcConsumer.getLoadGroup())) { if (srcArea.equals(areaToArea.getSource())) { if (asset.equals(pair.getA())) { if (trgArea.equals(areaToArea.getTarget())) { if (srcConsumer.equals(srcDeliver.getEnergyConsumer())) { _result.add(new Object[] { srcArea, srcGroup, trgArea, asset, pair, srcConsumer, srcLoadArea, areaToArea, srcDeliver }); } } } } } } } } return _result; }
public static final Iterable<Object[]> pattern_EnergyConsumerLinkServiceDeliveryPoint_2_3_findcontext_blackBBBBBBBB( EnergyConsumerToEnergyConsumer consumerToConsumer, MeterAsset asset, outagePreventionJointarget.EnergyConsumer trgConsumer, MeterAssetPhysicalDevicePair pair, outagePreventionJointarget.ServiceDeliveryPoint trgDeliver, EnergyConsumer srcConsumer, ServiceDeliveryPointToServiceDeliveryPoint deliverToDeliver, ServiceDeliveryPoint srcDeliver) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (trgConsumer.equals(consumerToConsumer.getTarget())) { if (srcDeliver.equals(asset.getServiceDeliveryPoint())) { if (asset.equals(pair.getA())) { if (srcConsumer.equals(consumerToConsumer.getSource())) { if (trgDeliver.equals(deliverToDeliver.getTarget())) { if (srcConsumer.equals(srcDeliver.getEnergyConsumer())) { if (srcDeliver.equals(deliverToDeliver.getSource())) { _result.add(new Object[] { consumerToConsumer, asset, trgConsumer, pair, trgDeliver, srcConsumer, deliverToDeliver, srcDeliver }); } } } } } } } return _result; }
public static final Iterable<Object[]> pattern_Location_10_2_testcorematchandDECs_blackFFFB( EMoflonEdge _edge_Location) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); EObject tmpAsset = _edge_Location.getSrc(); if (tmpAsset instanceof MeterAsset) { MeterAsset asset = (MeterAsset) tmpAsset; EObject tmpSrcLocation = _edge_Location.getTrg(); if (tmpSrcLocation instanceof gluemodel.CIM.IEC61968.Common.Location) { gluemodel.CIM.IEC61968.Common.Location srcLocation = (gluemodel.CIM.IEC61968.Common.Location) tmpSrcLocation; if (srcLocation.equals(asset.getLocation())) { for (MeterAssetPhysicalDevicePair pair : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetPhysicalDevicePair.class, "a")) { _result.add(new Object[] { asset, srcLocation, pair, _edge_Location }); } } } } return _result; }
public static final Iterable<Object[]> pattern_PositionPointLink_10_2_testcorematchandDECs_blackFFFFB( EMoflonEdge _edge_Position) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); EObject tmpSrcLocation = _edge_Position.getSrc(); if (tmpSrcLocation instanceof Location) { Location srcLocation = (Location) tmpSrcLocation; EObject tmpPositionPoint = _edge_Position.getTrg(); if (tmpPositionPoint instanceof PositionPoint) { PositionPoint positionPoint = (PositionPoint) tmpPositionPoint; if (positionPoint.equals(srcLocation.getPosition())) { for (Asset tmpAsset : srcLocation.getAssets()) { if (tmpAsset instanceof MeterAsset) { MeterAsset asset = (MeterAsset) tmpAsset; for (MeterAssetPhysicalDevicePair pair : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetPhysicalDevicePair.class, "a")) { _result.add(new Object[] { srcLocation, positionPoint, pair, asset, _edge_Position }); } } } } } } return _result; }
public static final Iterable<Object[]> pattern_GmlPosition_10_2_testcorematchandDECs_blackFFFFB( EMoflonEdge _edge_Position) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); EObject tmpSrcLocation = _edge_Position.getSrc(); if (tmpSrcLocation instanceof Location) { Location srcLocation = (Location) tmpSrcLocation; EObject tmpPositionPoint = _edge_Position.getTrg(); if (tmpPositionPoint instanceof gluemodel.CIM.IEC61970.Informative.InfGMLSupport.GmlPosition) { gluemodel.CIM.IEC61970.Informative.InfGMLSupport.GmlPosition positionPoint = (gluemodel.CIM.IEC61970.Informative.InfGMLSupport.GmlPosition) tmpPositionPoint; if (positionPoint.equals(srcLocation.getPosition())) { for (Asset tmpAsset : srcLocation.getAssets()) { if (tmpAsset instanceof MeterAsset) { MeterAsset asset = (MeterAsset) tmpAsset; for (MeterAssetPhysicalDevicePair pair : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetPhysicalDevicePair.class, "a")) { _result.add(new Object[] { positionPoint, srcLocation, asset, pair, _edge_Position }); } } } } } } return _result; }
public static final Iterable<Object[]> pattern_LoadAreaLinkControlArea_2_2_corematch_blackBBFFFBBBBFBBB( ServiceDeliveryPoint srcDeliver, SubLoadArea srcArea, MeterAsset asset, MeterAssetPhysicalDevicePair pair, ConformLoad srcConsumer, ControlArea srcControl, ConformLoadGroup srcGroup, LoadArea srcLoadArea, Match match) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); for (LoadAreaToLoadArea laodToLoad : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(srcLoadArea, LoadAreaToLoadArea.class, "source")) { outagePreventionJointarget.LoadArea trgLoadArea = laodToLoad.getTarget(); if (trgLoadArea != null) { for (ControlAreaToControlSrea controlToControl : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(srcControl, ControlAreaToControlSrea.class, "source")) { outagePreventionJointarget.ControlArea trgControl = controlToControl.getTarget(); if (trgControl != null) { _result.add(new Object[] { srcDeliver, srcArea, laodToLoad, trgControl, trgLoadArea, asset, pair, srcConsumer, srcControl, controlToControl, srcGroup, srcLoadArea, match }); } } } } return _result; }
public static final Iterable<Object[]> pattern_ConformLoad_2_3_findcontext_blackBBBBBB( gluemodel.CIM.IEC61970.LoadModel.ConformLoad srcConsumer, ServiceDeliveryPoint srcDeliver, outagePreventionJointarget.ServiceDeliveryPoint trgDeliver, ServiceDeliveryPointToServiceDeliveryPoint deliverToDeliver, MeterAsset asset, MeterAssetPhysicalDevicePair pair) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (srcDeliver.equals(deliverToDeliver.getSource())) { if (trgDeliver.equals(deliverToDeliver.getTarget())) { if (srcDeliver.equals(asset.getServiceDeliveryPoint())) { if (asset.equals(pair.getA())) { if (srcConsumer.equals(srcDeliver.getEnergyConsumer())) { _result.add(new Object[] { srcConsumer, srcDeliver, trgDeliver, deliverToDeliver, asset, pair }); } } } } } return _result; }
public static final Iterable<Object[]> pattern_PrivateMeterVoltage_10_2_testcorematchandDECs_blackFFFFB( EMoflonEdge _edge_a) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); EObject tmpPair = _edge_a.getSrc(); if (tmpPair instanceof MeterAssetPhysicalDevicePair) { MeterAssetPhysicalDevicePair pair = (MeterAssetPhysicalDevicePair) tmpPair; EObject tmpAsset = _edge_a.getTrg(); if (tmpAsset instanceof MeterAsset) { MeterAsset asset = (MeterAsset) tmpAsset; if (asset.equals(pair.getA())) { PhysicalDevice device = pair.getB(); if (device != null) { ElectricityValues values = device.getElectricityValues(); if (values != null) { _result.add(new Object[] { asset, pair, values, device, _edge_a }); } } } } } return _result; }
public static final Iterable<Object[]> pattern_Terminal_2_3_findcontext_blackBBBBBBB( gluemodel.CIM.IEC61970.Core.Terminal srcTerminal, PowerSystemResourceToPowerSystemResource resourceToTResource, MeterAssetMMXUPair pair, ConductingEquipment srcResource, PowerSystemResource trgResource, MeterAsset meter, Location srcLocation) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (meter.equals(pair.getA())) { if (srcResource.equals(resourceToTResource.getSource())) { if (srcLocation.equals(meter.getLocation())) { if (srcResource.getTerminals().contains(srcTerminal)) { if (trgResource.equals(resourceToTResource.getTarget())) { if (srcLocation.getPowerSystemResources().contains(srcResource)) { _result.add(new Object[] { srcTerminal, resourceToTResource, pair, srcResource, trgResource, meter, srcLocation }); } } } } } } return _result; }
public static final Iterable<Object[]> pattern_ServiceDeliveryPoint_2_3_findcontext_blackBBBBB( gluemodel.CIM.IEC61968.Metering.ServiceDeliveryPoint srcDeliver, MeterAssetToPrivateMeterVoltage assetToMeter, MeterAsset asset, MeterAssetPhysicalDevicePair pair, PrivateMeterVoltage meter) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (srcDeliver.equals(asset.getServiceDeliveryPoint())) { if (meter.equals(assetToMeter.getTarget())) { if (asset.equals(pair.getA())) { if (asset.equals(assetToMeter.getSource())) { _result.add(new Object[] { srcDeliver, assetToMeter, asset, pair, meter }); } } } } return _result; }
public static final Iterable<Object[]> pattern_EnergyConsumer_2_3_findcontext_blackBBBBBB( ServiceDeliveryPoint deliver, MeterAsset asset, AutoConnectObject connect, MeterAssetPhysicalDevicePair pair, ElectricityValues electric, PhysicalDevice device) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (device.equals(pair.getB())) { if (deliver.equals(asset.getServiceDeliveryPoint())) { if (asset.equals(pair.getA())) { if (electric.equals(device.getElectricityValues())) { if (connect.equals(device.getAutoConnect())) { _result.add(new Object[] { deliver, asset, connect, pair, electric, device }); } } } } } return _result; }
public static final Iterable<Object[]> pattern_TieFlowLinkControlArea_2_2_corematch_blackFBBBFBBFBBFB( MeterAssetMMXUPair pair, TieFlow srcTieFlow, Location srcLocation, ConductingEquipment srcResource, Terminal srcTerminal, MeterAsset meter, ControlArea srcControlArea, Match match) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); for (TieFlowToTieFlow flowToFlow : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(srcTieFlow, TieFlowToTieFlow.class, "source")) { outagePreventionJointarget.TieFlow trgTieFlow = flowToFlow.getTarget(); if (trgTieFlow != null) { for (ControlAreaToControlSrea controlAreaToControlArea : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(srcControlArea, ControlAreaToControlSrea.class, "source")) { outagePreventionJointarget.ControlArea trgControlArea = controlAreaToControlArea.getTarget(); if (trgControlArea != null) { _result.add(new Object[] { controlAreaToControlArea, pair, srcTieFlow, srcLocation, flowToFlow, srcResource, srcTerminal, trgControlArea, meter, srcControlArea, trgTieFlow, match }); } } } } return _result; }
public static final Iterable<Object[]> pattern_Location_10_2_testcorematchandDECs_blackFFFB( EMoflonEdge _edge_Location) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); EObject tmpAsset = _edge_Location.getSrc(); if (tmpAsset instanceof MeterAsset) { MeterAsset asset = (MeterAsset) tmpAsset; EObject tmpSrcLocation = _edge_Location.getTrg(); if (tmpSrcLocation instanceof gluemodel.CIM.IEC61968.Common.Location) { gluemodel.CIM.IEC61968.Common.Location srcLocation = (gluemodel.CIM.IEC61968.Common.Location) tmpSrcLocation; if (srcLocation.equals(asset.getLocation())) { for (MeterAssetMMXUPair pair : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetMMXUPair.class, "a")) { _result.add(new Object[] { srcLocation, asset, pair, _edge_Location }); } } } } return _result; }
public static final Iterable<Object[]> pattern_PositionPoint_2_3_findcontext_blackBBBBBB( LocationToLocation locationCorr, MeterAssetMMXUPair pair, MeterAsset meter, Location location, gluemodel.CIM.IEC61968.Common.PositionPoint positionPoint, outagePreventionJointarget.Location trgLocation) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (meter.equals(pair.getA())) { if (location.equals(meter.getLocation())) { if (positionPoint.equals(location.getPosition())) { if (location.equals(locationCorr.getSource())) { if (trgLocation.equals(locationCorr.getTarget())) { _result.add( new Object[] { locationCorr, pair, meter, location, positionPoint, trgLocation }); } } } } } return _result; }
public static final Iterable<Object[]> pattern_PositionPoint_2_3_findcontext_blackBBBBBB( LocationToLocation locationToLocation, gluemodel.CIM.IEC61968.Common.PositionPoint positionPoint, MeterAsset asset, Location srcLocation, MeterAssetPhysicalDevicePair pair, outageDetectionJointarget.Location trgLocation) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (srcLocation.equals(asset.getLocation())) { if (srcLocation.equals(locationToLocation.getSource())) { if (positionPoint.equals(srcLocation.getPosition())) { if (asset.equals(pair.getA())) { if (trgLocation.equals(locationToLocation.getTarget())) { _result.add(new Object[] { locationToLocation, positionPoint, asset, srcLocation, pair, trgLocation }); } } } } } return _result; }
public static final Iterable<Object[]> pattern_ConformLoadGroup_2_3_findcontext_blackBBBBBBB(MeterAsset asset, ConformLoad srcConsumer, gluemodel.CIM.IEC61970.LoadModel.ConformLoadGroup srcGroup, MeterAssetPhysicalDevicePair pair, ServiceDeliveryPoint srcDeliver, EnergyConsumerToEnergyConsumer consumerToConsumer, outagePreventionJointarget.ConformLoad trgConsumer) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (srcGroup.equals(srcConsumer.getLoadGroup())) { if (srcDeliver.equals(asset.getServiceDeliveryPoint())) { if (asset.equals(pair.getA())) { if (srcConsumer.equals(consumerToConsumer.getSource())) { if (trgConsumer.equals(consumerToConsumer.getTarget())) { if (srcConsumer.equals(srcDeliver.getEnergyConsumer())) { _result.add(new Object[] { asset, srcConsumer, srcGroup, pair, srcDeliver, consumerToConsumer, trgConsumer }); } } } } } } return _result; }
public static final Iterable<Object[]> pattern_LocationLink_2_3_findcontext_blackBBBBBBB(EnergyConsumer consumer, MeterAsset asset, Location location, MeterAssetToEnergyConsumer assetToConumer, outageDetectionJointarget.Location trgLocation, MeterAssetPhysicalDevicePair pair, LocationToLocation locationCorr) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (asset.equals(assetToConumer.getSource())) { if (consumer.equals(assetToConumer.getTarget())) { if (location.equals(asset.getLocation())) { if (asset.equals(pair.getA())) { if (location.equals(locationCorr.getSource())) { if (trgLocation.equals(locationCorr.getTarget())) { _result.add(new Object[] { consumer, asset, location, assetToConumer, trgLocation, pair, locationCorr }); } } } } } } return _result; }
public static final Iterable<Object[]> pattern_LocationLink_10_2_testcorematchandDECs_blackFFFB( EMoflonEdge _edge_Location) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); EObject tmpAsset = _edge_Location.getSrc(); if (tmpAsset instanceof MeterAsset) { MeterAsset asset = (MeterAsset) tmpAsset; EObject tmpLocation = _edge_Location.getTrg(); if (tmpLocation instanceof Location) { Location location = (Location) tmpLocation; if (location.equals(asset.getLocation())) { for (MeterAssetPhysicalDevicePair pair : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetPhysicalDevicePair.class, "a")) { _result.add(new Object[] { asset, location, pair, _edge_Location }); } } } } return _result; }
public static final Iterable<Object[]> pattern_EnergyConsumerWithID_2_3_findcontext_blackBBBBBBB( ElectricityValues electric, ServiceDeliveryPoint deliver, MeterAsset asset, PhysicalDevice device, EnergyConsumer consumer, AutoConnectObject connect, MeterAssetPhysicalDevicePair pair) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (consumer.equals(deliver.getEnergyConsumer())) { if (connect.equals(device.getAutoConnect())) { if (electric.equals(device.getElectricityValues())) { if (device.equals(pair.getB())) { if (deliver.equals(asset.getServiceDeliveryPoint())) { if (asset.equals(pair.getA())) { _result.add(new Object[] { electric, deliver, asset, device, consumer, connect, pair }); } } } } } } return _result; }
public static final Iterable<Object[]> pattern_StationSupply_2_3_findcontext_blackBBBBBB( gluemodel.CIM.IEC61970.LoadModel.StationSupply srcConsumer, ServiceDeliveryPoint srcDeliver, outagePreventionJointarget.ServiceDeliveryPoint trgDeliver, ServiceDeliveryPointToServiceDeliveryPoint deliverToDeliver, MeterAsset asset, MeterAssetPhysicalDevicePair pair) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (srcDeliver.equals(deliverToDeliver.getSource())) { if (trgDeliver.equals(deliverToDeliver.getTarget())) { if (srcDeliver.equals(asset.getServiceDeliveryPoint())) { if (asset.equals(pair.getA())) { if (srcConsumer.equals(srcDeliver.getEnergyConsumer())) { _result.add(new Object[] { srcConsumer, srcDeliver, trgDeliver, deliverToDeliver, asset, pair }); } } } } } return _result; }
public static final Iterable<Object[]> pattern_PositionPointLink_2_2_corematch_blackBFBFFBBFB(Location srcLocation, PositionPoint positionPoint, MeterAssetPhysicalDevicePair pair, MeterAsset asset, Match match) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); for (LocationToLocation locationToLocation : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(srcLocation, LocationToLocation.class, "source")) { outageDetectionJointarget.Location trgLocation = locationToLocation.getTarget(); if (trgLocation != null) { for (PositionPointToPositionPoint positionCorr : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(positionPoint, PositionPointToPositionPoint.class, "source")) { outageDetectionJointarget.PositionPoint trgPositionPoint = positionCorr.getTarget(); if (trgPositionPoint != null) { _result.add(new Object[] { srcLocation, locationToLocation, positionPoint, trgPositionPoint, trgLocation, pair, asset, positionCorr, match }); } } } } return _result; }
public static final Iterable<Object[]> pattern_NonConformLoadGroup_2_3_findcontext_blackBBBBBBB(MeterAsset asset, gluemodel.CIM.IEC61970.LoadModel.NonConformLoadGroup srcGroup, MeterAssetPhysicalDevicePair pair, ServiceDeliveryPoint srcDeliver, outagePreventionJointarget.NonConformLoad trgConsumer, NonConformLoad srcConsumer, EnergyConsumerToEnergyConsumer consumerToConsumer) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (asset.equals(pair.getA())) { if (srcDeliver.equals(asset.getServiceDeliveryPoint())) { if (srcGroup.equals(srcConsumer.getLoadGroup())) { if (srcConsumer.equals(srcDeliver.getEnergyConsumer())) { if (trgConsumer.equals(consumerToConsumer.getTarget())) { if (srcConsumer.equals(consumerToConsumer.getSource())) { _result.add(new Object[] { asset, srcGroup, pair, srcDeliver, trgConsumer, srcConsumer, consumerToConsumer }); } } } } } } return _result; }
public static final Iterable<Object[]> pattern_WorkLocation_2_3_findcontext_blackBBBBB( MeterAssetToEnergyConsumer assetToConumer, gluemodel.CIM.IEC61970.Informative.InfWork.WorkLocation srcLocation, MeterAsset asset, EnergyConsumer consumer, MeterAssetPhysicalDevicePair pair) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); if (srcLocation.equals(asset.getLocation())) { if (asset.equals(assetToConumer.getSource())) { if (consumer.equals(assetToConumer.getTarget())) { if (asset.equals(pair.getA())) { _result.add(new Object[] { assetToConumer, srcLocation, asset, consumer, pair }); } } } } return _result; }
public static final Iterable<Object[]> pattern_WorkLocation_10_2_testcorematchandDECs_blackFFFB( EMoflonEdge _edge_Location) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); EObject tmpAsset = _edge_Location.getSrc(); if (tmpAsset instanceof MeterAsset) { MeterAsset asset = (MeterAsset) tmpAsset; EObject tmpSrcLocation = _edge_Location.getTrg(); if (tmpSrcLocation instanceof gluemodel.CIM.IEC61970.Informative.InfWork.WorkLocation) { gluemodel.CIM.IEC61970.Informative.InfWork.WorkLocation srcLocation = (gluemodel.CIM.IEC61970.Informative.InfWork.WorkLocation) tmpSrcLocation; if (srcLocation.equals(asset.getLocation())) { for (MeterAssetPhysicalDevicePair pair : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetPhysicalDevicePair.class, "a")) { _result.add(new Object[] { srcLocation, asset, pair, _edge_Location }); } } } } return _result; }
public static final Iterable<Object[]> pattern_WorkLocation_10_2_testcorematchandDECs_blackFFFB( EMoflonEdge _edge_Location) { LinkedList<Object[]> _result = new LinkedList<Object[]>(); EObject tmpAsset = _edge_Location.getSrc(); if (tmpAsset instanceof MeterAsset) { MeterAsset asset = (MeterAsset) tmpAsset; EObject tmpSrcLocation = _edge_Location.getTrg(); if (tmpSrcLocation instanceof gluemodel.CIM.IEC61970.Informative.InfWork.WorkLocation) { gluemodel.CIM.IEC61970.Informative.InfWork.WorkLocation srcLocation = (gluemodel.CIM.IEC61970.Informative.InfWork.WorkLocation) tmpSrcLocation; if (srcLocation.equals(asset.getLocation())) { for (MeterAssetMMXUPair pair : org.moflon.core.utilities.eMoflonEMFUtil .getOppositeReferenceTyped(asset, MeterAssetMMXUPair.class, "a")) { _result.add(new Object[] { srcLocation, asset, pair, _edge_Location }); } } } } return _result; }