Skip to content

Package: VDomainModelReference

VDomainModelReference

Coverage

1: /**
2: * Copyright (c) 2011-2013 EclipseSource Muenchen GmbH 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: * Eugen Neufeld - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.view.spi.model;
15:
16: import java.util.Iterator;
17:
18: import org.eclipse.emf.common.util.EList;
19: import org.eclipse.emf.ecore.EObject;
20: import org.eclipse.emf.ecore.EStructuralFeature;
21: import org.eclipse.emf.ecore.EStructuralFeature.Setting;
22:
23: /**
24: * <!-- begin-user-doc -->
25: * A representation of the model object '<em><b>VDomain Model Reference</b></em>'.
26: *
27: * @implements ModelChangeListener
28: * <!-- end-user-doc -->
29: *
30: * <p>
31: * The following features are supported:
32: * </p>
33: * <ul>
34: * <li>{@link org.eclipse.emf.ecp.view.spi.model.VDomainModelReference#getChangeListener <em>Change
35: * Listener</em>}</li>
36: * <li>{@link org.eclipse.emf.ecp.view.spi.model.VDomainModelReference#getSegments <em>Segments</em>}</li>
37: * </ul>
38: *
39: * @see org.eclipse.emf.ecp.view.spi.model.VViewPackage#getDomainModelReference()
40: * @model
41: * @generated
42: */
43: public interface VDomainModelReference extends EObject, ModelChangeListener {
44:         /**
45:          * Returns the value of the '<em><b>Change Listener</b></em>' attribute list.
46:          * The list contents are of type {@link org.eclipse.emf.ecp.view.spi.model.DomainModelReferenceChangeListener}.
47:          * <!-- begin-user-doc -->
48:          * <p>
49:          * If the meaning of the '<em>Change Listener</em>' attribute list isn't clear, there really should be more of a
50:          * description here...
51:          * </p>
52:          *
53:          * @since 1.3
54:          * <!-- end-user-doc -->
55:          * @return the value of the '<em>Change Listener</em>' attribute list.
56:          * @see org.eclipse.emf.ecp.view.spi.model.VViewPackage#getDomainModelReference_ChangeListener()
57:          * @model dataType="org.eclipse.emf.ecp.view.spi.model.DomainModelReferenceChangeListener" transient="true"
58:          * @generated
59:          */
60:         @Deprecated
61:         EList<DomainModelReferenceChangeListener> getChangeListener();
62:
63:         /**
64:          * Returns the value of the '<em><b>Segments</b></em>' containment reference list.
65:          * The list contents are of type {@link org.eclipse.emf.ecp.view.spi.model.VDomainModelReferenceSegment}.
66:          * <!-- begin-user-doc -->
67:          * <p>
68:          * If the meaning of the '<em>Segments</em>' containment reference list isn't clear,
69:          * there really should be more of a description here...
70:          * </p>
71:          *
72:          * @since 1.19
73:          * <!-- end-user-doc -->
74:          * @return the value of the '<em>Segments</em>' containment reference list.
75:          * @see org.eclipse.emf.ecp.view.spi.model.VViewPackage#getDomainModelReference_Segments()
76:          * @model containment="true"
77:          * @generated
78:          */
79:         EList<VDomainModelReferenceSegment> getSegments();
80:
81:         /**
82:          * Resolve attempts to resolve the domain model reference. If it fails existing results will be kept. Thus even
83:          * after
84:          * a failed resolution the iterator might not be empty.
85:          *
86:          * @param eObject the root domain model to use to resolve the path
87:          * @return true if resolution succeeded and false otherwise
88:          * @since 1.3
89:          */
90:         @Deprecated
91:         boolean init(EObject object);
92:
93:         /**
94:          * Returns an iterator allowing to iterate over found settings for this domain model reference.
95:          * Will return an empty Iterator if resolve was not successfully completed.
96:          *
97:          * @return the {@link Iterator} for this domain model reference
98:          */
99:         @Deprecated
100:         Iterator<Setting> getIterator();
101:
102:         /**
103:          * Returns an iterator allowing to iterate overall {@link EStructuralFeature EStructuralFeatures} of this domain
104:          * model reference.
105:          *
106:          * @return the {@link Iterator} over all {@link EStructuralFeature EStructuralFeatures} for this domain model
107:          * reference
108:          * @since 1.3
109:          */
110:         @Deprecated
111:         Iterator<EStructuralFeature> getEStructuralFeatureIterator();
112:
113:         /**
114:          * Returns an iterator allowing to iterate over all setting paths for this domain model reference.
115:          * Will return an empty Iterator if resolve was not successfully completed.
116:          *
117:          * @return the {@link Iterator} over setting paths for this domain model reference
118:          * @since 1.3
119:          */
120:         @Deprecated
121:         Iterator<SettingPath> getFullPathIterator();
122:
123: } // VDomainModelReference