123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- /**
- */
- package ua.ansymo.hintco;
- /**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Port Adaptation</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link ua.ansymo.hintco.PortAdaptation#getPort <em>Port</em>}</li>
- * <li>{@link ua.ansymo.hintco.PortAdaptation#getParent <em>Parent</em>}</li>
- * </ul>
- *
- * @see ua.ansymo.hintco.HintcoPackage#getPortAdaptation()
- * @model abstract="true"
- * @generated
- */
- public interface PortAdaptation extends Adaptation {
- /**
- * Returns the value of the '<em><b>Port</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.PortInstance#getAdaptation <em>Adaptation</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Port</em>' container reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Port</em>' container reference.
- * @see #setPort(PortInstance)
- * @see ua.ansymo.hintco.HintcoPackage#getPortAdaptation_Port()
- * @see ua.ansymo.hintco.PortInstance#getAdaptation
- * @model opposite="adaptation" transient="false"
- * @generated
- */
- PortInstance getPort();
- /**
- * Sets the value of the '{@link ua.ansymo.hintco.PortAdaptation#getPort <em>Port</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Port</em>' container reference.
- * @see #getPort()
- * @generated
- */
- void setPort(PortInstance value);
- /**
- * Returns the value of the '<em><b>Parent</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.DecompositionPortAdaptation#getChildren <em>Children</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parent</em>' container reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Parent</em>' container reference.
- * @see #setParent(DecompositionPortAdaptation)
- * @see ua.ansymo.hintco.HintcoPackage#getPortAdaptation_Parent()
- * @see ua.ansymo.hintco.DecompositionPortAdaptation#getChildren
- * @model opposite="children" transient="false"
- * @generated
- */
- DecompositionPortAdaptation getParent();
- /**
- * Sets the value of the '{@link ua.ansymo.hintco.PortAdaptation#getParent <em>Parent</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Parent</em>' container reference.
- * @see #getParent()
- * @generated
- */
- void setParent(DecompositionPortAdaptation value);
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model unique="false"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='<%ua.ansymo.hintco.PortInstance%> _port = this.getPort();\nboolean _tripleNotEquals = (_port != null);\nif (_tripleNotEquals)\n{\n\treturn this.getPort();\n}\n<%ua.ansymo.hintco.DecompositionPortAdaptation%> _parent = this.getParent();\nboolean _tripleEquals = (_parent == null);\nif (_tripleEquals)\n{\n\treturn null;\n}\nreturn this.getParent().adapted();'"
- * @generated
- */
- PortInstance adapted();
- } // PortAdaptation
|