Skip to content

Package: IsProxyCondition

IsProxyCondition

Coverage

1: /**
2: * Copyright (c) 2018 Christian W. Damus and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Christian W. Damus - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.view.spi.rule.model;
15:
16: import org.eclipse.emf.ecp.view.spi.model.VDomainModelReference;
17:
18: /**
19: * <!-- begin-user-doc -->
20: * A representation of the model object '<em><b>Is Proxy</b></em>'.
21: * <!-- end-user-doc -->
22: *
23: * <!-- begin-model-doc -->
24: * Matches {@link org.eclipse.emf.ecore.EObject EObject}s that are unresolved proxies. Does not make sense for rules on
25: * attributes.
26: * <!-- end-model-doc -->
27: *
28: * <p>
29: * The following features are supported:
30: * </p>
31: * <ul>
32: * <li>{@link org.eclipse.emf.ecp.view.spi.rule.model.IsProxyCondition#getDomainModelReference <em>Domain Model
33: * Reference</em>}</li>
34: * </ul>
35: *
36: * @see org.eclipse.emf.ecp.view.spi.rule.model.RulePackage#getIsProxyCondition()
37: * @model
38: * @generated
39: */
40: public interface IsProxyCondition extends Condition {
41:
42:         /**
43:          * Returns the value of the '<em><b>Domain Model Reference</b></em>' containment reference.
44:          * <!-- begin-user-doc -->
45:          * <!-- end-user-doc -->
46:          * <!-- begin-model-doc -->
47:          * Optional reference to check for proxies. If set, must indicate an {@link org.eclipse.emf.ecore.EReference
48:          * EReference}. The condition evaluates {@code true} if the reference contains a proxy; {@code false}, otherwise. If
49:          * omitted, the condition tests whether the domain object itself is a proxy, which is particularly useful in
50:          * {@link IterateCondition}s.
51:          * <!-- end-model-doc -->
52:          *
53:          * @return the value of the '<em>Domain Model Reference</em>' containment reference.
54:          * @see #setDomainModelReference(VDomainModelReference)
55:          * @see org.eclipse.emf.ecp.view.spi.rule.model.RulePackage#getIsProxyCondition_DomainModelReference()
56:          * @model containment="true"
57:          * @generated
58:          */
59:         VDomainModelReference getDomainModelReference();
60:
61:         /**
62:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.rule.model.IsProxyCondition#getDomainModelReference
63:          * <em>Domain Model Reference</em>}' containment reference.
64:          * <!-- begin-user-doc -->
65:          * <!-- end-user-doc -->
66:          *
67:          * @param value the new value of the '<em>Domain Model Reference</em>' containment reference.
68:          * @see #getDomainModelReference()
69:          * @generated
70:          */
71:         void setDomainModelReference(VDomainModelReference value);
72: } // IsProxyCondition