本文整理汇总了Java中org.eclipse.emf.ecore.EOperation类的典型用法代码示例。如果您正苦于以下问题:Java EOperation类的具体用法?Java EOperation怎么用?Java EOperation使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
EOperation类属于org.eclipse.emf.ecore包,在下文中一共展示了EOperation类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: pattern_SDPLocation_2_1_preparereturnvalue_bindingAndBlackFFB
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_SDPLocation_2_1_preparereturnvalue_bindingAndBlackFFB(SDPLocation _this) {
Object[] result_pattern_SDPLocation_2_1_preparereturnvalue_binding = pattern_SDPLocation_2_1_preparereturnvalue_bindingFB(
_this);
if (result_pattern_SDPLocation_2_1_preparereturnvalue_binding != null) {
EClass eClass = (EClass) result_pattern_SDPLocation_2_1_preparereturnvalue_binding[0];
Object[] result_pattern_SDPLocation_2_1_preparereturnvalue_black = pattern_SDPLocation_2_1_preparereturnvalue_blackFBB(
eClass, _this);
if (result_pattern_SDPLocation_2_1_preparereturnvalue_black != null) {
EOperation performOperation = (EOperation) result_pattern_SDPLocation_2_1_preparereturnvalue_black[0];
return new Object[] { performOperation, eClass, _this };
}
}
return null;
}
示例2: pattern_SubLoadArea_10_1_preparereturnvalue_bindingAndBlackFFBF
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_SubLoadArea_10_1_preparereturnvalue_bindingAndBlackFFBF(SubLoadArea _this) {
Object[] result_pattern_SubLoadArea_10_1_preparereturnvalue_binding = pattern_SubLoadArea_10_1_preparereturnvalue_bindingFB(
_this);
if (result_pattern_SubLoadArea_10_1_preparereturnvalue_binding != null) {
EClass __eClass = (EClass) result_pattern_SubLoadArea_10_1_preparereturnvalue_binding[0];
Object[] result_pattern_SubLoadArea_10_1_preparereturnvalue_black = pattern_SubLoadArea_10_1_preparereturnvalue_blackFBBF(
__eClass, _this);
if (result_pattern_SubLoadArea_10_1_preparereturnvalue_black != null) {
EOperation __performOperation = (EOperation) result_pattern_SubLoadArea_10_1_preparereturnvalue_black[0];
EOperation isApplicableCC = (EOperation) result_pattern_SubLoadArea_10_1_preparereturnvalue_black[3];
return new Object[] { __performOperation, __eClass, _this, isApplicableCC };
}
}
return null;
}
示例3: pattern_EnergyConsumer_2_1_preparereturnvalue_bindingAndBlackFFB
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_EnergyConsumer_2_1_preparereturnvalue_bindingAndBlackFFB(
EnergyConsumer _this) {
Object[] result_pattern_EnergyConsumer_2_1_preparereturnvalue_binding = pattern_EnergyConsumer_2_1_preparereturnvalue_bindingFB(
_this);
if (result_pattern_EnergyConsumer_2_1_preparereturnvalue_binding != null) {
EClass eClass = (EClass) result_pattern_EnergyConsumer_2_1_preparereturnvalue_binding[0];
Object[] result_pattern_EnergyConsumer_2_1_preparereturnvalue_black = pattern_EnergyConsumer_2_1_preparereturnvalue_blackFBB(
eClass, _this);
if (result_pattern_EnergyConsumer_2_1_preparereturnvalue_black != null) {
EOperation performOperation = (EOperation) result_pattern_EnergyConsumer_2_1_preparereturnvalue_black[0];
return new Object[] { performOperation, eClass, _this };
}
}
return null;
}
示例4: pattern_LocationLink_2_1_preparereturnvalue_bindingAndBlackFFB
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_LocationLink_2_1_preparereturnvalue_bindingAndBlackFFB(LocationLink _this) {
Object[] result_pattern_LocationLink_2_1_preparereturnvalue_binding = pattern_LocationLink_2_1_preparereturnvalue_bindingFB(
_this);
if (result_pattern_LocationLink_2_1_preparereturnvalue_binding != null) {
EClass eClass = (EClass) result_pattern_LocationLink_2_1_preparereturnvalue_binding[0];
Object[] result_pattern_LocationLink_2_1_preparereturnvalue_black = pattern_LocationLink_2_1_preparereturnvalue_blackFBB(
eClass, _this);
if (result_pattern_LocationLink_2_1_preparereturnvalue_black != null) {
EOperation performOperation = (EOperation) result_pattern_LocationLink_2_1_preparereturnvalue_black[0];
return new Object[] { performOperation, eClass, _this };
}
}
return null;
}
示例5: pattern_EnergyConsumer_10_1_preparereturnvalue_blackFBBF
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_EnergyConsumer_10_1_preparereturnvalue_blackFBBF(EClass __eClass,
EnergyConsumer _this) {
for (EOperation __performOperation : __eClass.getEOperations()) {
String __performOperation_name = __performOperation.getName();
if (__performOperation_name.equals("isApplicable_FWD")) {
for (EOperation isApplicableCC : __eClass.getEOperations()) {
if (!__performOperation.equals(isApplicableCC)) {
String isApplicableCC_name = isApplicableCC.getName();
if (isApplicableCC_name.equals("isApplicable_CC")) {
return new Object[] { __performOperation, __eClass, _this, isApplicableCC };
}
}
}
}
}
return null;
}
示例6: pattern_SubLoadArea_10_1_preparereturnvalue_blackFBBF
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_SubLoadArea_10_1_preparereturnvalue_blackFBBF(EClass __eClass,
SubLoadArea _this) {
for (EOperation __performOperation : __eClass.getEOperations()) {
String __performOperation_name = __performOperation.getName();
if (__performOperation_name.equals("isApplicable_FWD")) {
for (EOperation isApplicableCC : __eClass.getEOperations()) {
if (!__performOperation.equals(isApplicableCC)) {
String isApplicableCC_name = isApplicableCC.getName();
if (isApplicableCC_name.equals("isApplicable_CC")) {
return new Object[] { __performOperation, __eClass, _this, isApplicableCC };
}
}
}
}
}
return null;
}
示例7: pattern_PositionPointLink_10_1_preparereturnvalue_blackFBBF
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_PositionPointLink_10_1_preparereturnvalue_blackFBBF(EClass __eClass,
PositionPointLink _this) {
for (EOperation __performOperation : __eClass.getEOperations()) {
String __performOperation_name = __performOperation.getName();
if (__performOperation_name.equals("isApplicable_FWD")) {
for (EOperation isApplicableCC : __eClass.getEOperations()) {
if (!__performOperation.equals(isApplicableCC)) {
String isApplicableCC_name = isApplicableCC.getName();
if (isApplicableCC_name.equals("isApplicable_CC")) {
return new Object[] { __performOperation, __eClass, _this, isApplicableCC };
}
}
}
}
}
return null;
}
示例8: pattern_PositionPoint_10_5_Addmatchtoruleresult_greenBBBB
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_PositionPoint_10_5_Addmatchtoruleresult_greenBBBB(Match match,
EOperation __performOperation, EObjectContainer __result, EOperation isApplicableCC) {
__result.getContents().add(match);
match.setIsApplicableOperation(__performOperation);
match.setIsApplicableCCOperation(isApplicableCC);
return new Object[] { match, __performOperation, __result, isApplicableCC };
}
示例9: pattern_LocationLink_10_5_Addmatchtoruleresult_blackBBBB
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_LocationLink_10_5_Addmatchtoruleresult_blackBBBB(Match match,
EOperation __performOperation, EObjectContainer __result, EOperation isApplicableCC) {
if (!__performOperation.equals(isApplicableCC)) {
return new Object[] { match, __performOperation, __result, isApplicableCC };
}
return null;
}
示例10: pattern_EnergyConsumer_2_1_preparereturnvalue_blackFBB
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_EnergyConsumer_2_1_preparereturnvalue_blackFBB(EClass eClass,
EnergyConsumer _this) {
for (EOperation performOperation : eClass.getEOperations()) {
String performOperation_name = performOperation.getName();
if (performOperation_name.equals("perform_FWD")) {
return new Object[] { performOperation, eClass, _this };
}
}
return null;
}
示例11: pattern_SDPLocation_2_1_preparereturnvalue_blackFBB
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_SDPLocation_2_1_preparereturnvalue_blackFBB(EClass eClass, SDPLocation _this) {
for (EOperation performOperation : eClass.getEOperations()) {
String performOperation_name = performOperation.getName();
if (performOperation_name.equals("perform_FWD")) {
return new Object[] { performOperation, eClass, _this };
}
}
return null;
}
示例12: pattern_SDPLocation_2_1_preparereturnvalue_greenBF
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_SDPLocation_2_1_preparereturnvalue_greenBF(EOperation performOperation) {
IsApplicableRuleResult ruleresult = RuntimeFactory.eINSTANCE.createIsApplicableRuleResult();
boolean ruleresult_success_prime = Boolean.valueOf(false);
String ruleresult_rule_prime = "SDPLocation";
ruleresult.setPerformOperation(performOperation);
ruleresult.setSuccess(Boolean.valueOf(ruleresult_success_prime));
ruleresult.setRule(ruleresult_rule_prime);
return new Object[] { performOperation, ruleresult };
}
示例13: pattern_PrivateMeterVoltage_2_1_preparereturnvalue_blackFBB
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_PrivateMeterVoltage_2_1_preparereturnvalue_blackFBB(EClass eClass,
PrivateMeterVoltage _this) {
for (EOperation performOperation : eClass.getEOperations()) {
String performOperation_name = performOperation.getName();
if (performOperation_name.equals("perform_FWD")) {
return new Object[] { performOperation, eClass, _this };
}
}
return null;
}
示例14: pattern_SubLoadArea_10_5_Addmatchtoruleresult_greenBBBB
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_SubLoadArea_10_5_Addmatchtoruleresult_greenBBBB(Match match,
EOperation __performOperation, EObjectContainer __result, EOperation isApplicableCC) {
__result.getContents().add(match);
match.setIsApplicableOperation(__performOperation);
match.setIsApplicableCCOperation(isApplicableCC);
return new Object[] { match, __performOperation, __result, isApplicableCC };
}
示例15: pattern_LoadArea_2_1_preparereturnvalue_blackFBB
import org.eclipse.emf.ecore.EOperation; //导入依赖的package包/类
public static final Object[] pattern_LoadArea_2_1_preparereturnvalue_blackFBB(EClass eClass, LoadArea _this) {
for (EOperation performOperation : eClass.getEOperations()) {
String performOperation_name = performOperation.getName();
if (performOperation_name.equals("perform_FWD")) {
return new Object[] { performOperation, eClass, _this };
}
}
return null;
}