Alternative.java 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /**
  2. */
  3. package ua.ansymo.hintco;
  4. import org.eclipse.emf.common.util.EList;
  5. import org.eclipse.emf.ecore.EObject;
  6. /**
  7. * <!-- begin-user-doc -->
  8. * A representation of the model object '<em><b>Alternative</b></em>'.
  9. * <!-- end-user-doc -->
  10. *
  11. * <p>
  12. * The following features are supported:
  13. * </p>
  14. * <ul>
  15. * <li>{@link ua.ansymo.hintco.Alternative#getWeight <em>Weight</em>}</li>
  16. * <li>{@link ua.ansymo.hintco.Alternative#isSelected <em>Selected</em>}</li>
  17. * <li>{@link ua.ansymo.hintco.Alternative#getImplies <em>Implies</em>}</li>
  18. * </ul>
  19. *
  20. * @see ua.ansymo.hintco.HintcoPackage#getAlternative()
  21. * @model abstract="true"
  22. * @generated
  23. */
  24. public interface Alternative extends EObject {
  25. /**
  26. * Returns the value of the '<em><b>Weight</b></em>' attribute.
  27. * <!-- begin-user-doc -->
  28. * <p>
  29. * If the meaning of the '<em>Weight</em>' attribute isn't clear,
  30. * there really should be more of a description here...
  31. * </p>
  32. * <!-- end-user-doc -->
  33. * @return the value of the '<em>Weight</em>' attribute.
  34. * @see #setWeight(int)
  35. * @see ua.ansymo.hintco.HintcoPackage#getAlternative_Weight()
  36. * @model unique="false"
  37. * @generated
  38. */
  39. int getWeight();
  40. /**
  41. * Sets the value of the '{@link ua.ansymo.hintco.Alternative#getWeight <em>Weight</em>}' attribute.
  42. * <!-- begin-user-doc -->
  43. * <!-- end-user-doc -->
  44. * @param value the new value of the '<em>Weight</em>' attribute.
  45. * @see #getWeight()
  46. * @generated
  47. */
  48. void setWeight(int value);
  49. /**
  50. * Returns the value of the '<em><b>Selected</b></em>' attribute.
  51. * <!-- begin-user-doc -->
  52. * <p>
  53. * If the meaning of the '<em>Selected</em>' attribute 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>Selected</em>' attribute.
  58. * @see #setSelected(boolean)
  59. * @see ua.ansymo.hintco.HintcoPackage#getAlternative_Selected()
  60. * @model unique="false"
  61. * @generated
  62. */
  63. boolean isSelected();
  64. /**
  65. * Sets the value of the '{@link ua.ansymo.hintco.Alternative#isSelected <em>Selected</em>}' attribute.
  66. * <!-- begin-user-doc -->
  67. * <!-- end-user-doc -->
  68. * @param value the new value of the '<em>Selected</em>' attribute.
  69. * @see #isSelected()
  70. * @generated
  71. */
  72. void setSelected(boolean value);
  73. /**
  74. * Returns the value of the '<em><b>Implies</b></em>' reference list.
  75. * The list contents are of type {@link ua.ansymo.hintco.Alternative}.
  76. * <!-- begin-user-doc -->
  77. * <p>
  78. * If the meaning of the '<em>Implies</em>' reference list isn't clear,
  79. * there really should be more of a description here...
  80. * </p>
  81. * <!-- end-user-doc -->
  82. * @return the value of the '<em>Implies</em>' reference list.
  83. * @see ua.ansymo.hintco.HintcoPackage#getAlternative_Implies()
  84. * @model
  85. * @generated
  86. */
  87. EList<Alternative> getImplies();
  88. } // Alternative