PortAdaptation.java 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /**
  2. */
  3. package ua.ansymo.hintco;
  4. /**
  5. * <!-- begin-user-doc -->
  6. * A representation of the model object '<em><b>Port Adaptation</b></em>'.
  7. * <!-- end-user-doc -->
  8. *
  9. * <p>
  10. * The following features are supported:
  11. * </p>
  12. * <ul>
  13. * <li>{@link ua.ansymo.hintco.PortAdaptation#getPort <em>Port</em>}</li>
  14. * <li>{@link ua.ansymo.hintco.PortAdaptation#getParent <em>Parent</em>}</li>
  15. * </ul>
  16. *
  17. * @see ua.ansymo.hintco.HintcoPackage#getPortAdaptation()
  18. * @model abstract="true"
  19. * @generated
  20. */
  21. public interface PortAdaptation extends Adaptation {
  22. /**
  23. * Returns the value of the '<em><b>Port</b></em>' container reference.
  24. * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.PortInstance#getAdaptation <em>Adaptation</em>}'.
  25. * <!-- begin-user-doc -->
  26. * <p>
  27. * If the meaning of the '<em>Port</em>' container reference isn't clear,
  28. * there really should be more of a description here...
  29. * </p>
  30. * <!-- end-user-doc -->
  31. * @return the value of the '<em>Port</em>' container reference.
  32. * @see #setPort(PortInstance)
  33. * @see ua.ansymo.hintco.HintcoPackage#getPortAdaptation_Port()
  34. * @see ua.ansymo.hintco.PortInstance#getAdaptation
  35. * @model opposite="adaptation" transient="false"
  36. * @generated
  37. */
  38. PortInstance getPort();
  39. /**
  40. * Sets the value of the '{@link ua.ansymo.hintco.PortAdaptation#getPort <em>Port</em>}' container reference.
  41. * <!-- begin-user-doc -->
  42. * <!-- end-user-doc -->
  43. * @param value the new value of the '<em>Port</em>' container reference.
  44. * @see #getPort()
  45. * @generated
  46. */
  47. void setPort(PortInstance value);
  48. /**
  49. * Returns the value of the '<em><b>Parent</b></em>' container reference.
  50. * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.DecompositionPortAdaptation#getChildren <em>Children</em>}'.
  51. * <!-- begin-user-doc -->
  52. * <p>
  53. * If the meaning of the '<em>Parent</em>' container reference isn't clear,
  54. * there really should be more of a description here...
  55. * </p>
  56. * <!-- end-user-doc -->
  57. * @return the value of the '<em>Parent</em>' container reference.
  58. * @see #setParent(DecompositionPortAdaptation)
  59. * @see ua.ansymo.hintco.HintcoPackage#getPortAdaptation_Parent()
  60. * @see ua.ansymo.hintco.DecompositionPortAdaptation#getChildren
  61. * @model opposite="children" transient="false"
  62. * @generated
  63. */
  64. DecompositionPortAdaptation getParent();
  65. /**
  66. * Sets the value of the '{@link ua.ansymo.hintco.PortAdaptation#getParent <em>Parent</em>}' container reference.
  67. * <!-- begin-user-doc -->
  68. * <!-- end-user-doc -->
  69. * @param value the new value of the '<em>Parent</em>' container reference.
  70. * @see #getParent()
  71. * @generated
  72. */
  73. void setParent(DecompositionPortAdaptation value);
  74. /**
  75. * <!-- begin-user-doc -->
  76. * <!-- end-user-doc -->
  77. * @model unique="false"
  78. * annotation="http://www.eclipse.org/emf/2002/GenModel body='&lt;%ua.ansymo.hintco.PortInstance%&gt; _port = this.getPort();\nboolean _tripleNotEquals = (_port != null);\nif (_tripleNotEquals)\n{\n\treturn this.getPort();\n}\n&lt;%ua.ansymo.hintco.DecompositionPortAdaptation%&gt; _parent = this.getParent();\nboolean _tripleEquals = (_parent == null);\nif (_tripleEquals)\n{\n\treturn null;\n}\nreturn this.getParent().adapted();'"
  79. * @generated
  80. */
  81. PortInstance adapted();
  82. } // PortAdaptation