/** */ package ua.ansymo.hintco; /** * * A representation of the model object 'Port Adaptation'. * * *

* The following features are supported: *

* * * @see ua.ansymo.hintco.HintcoPackage#getPortAdaptation() * @model abstract="true" * @generated */ public interface PortAdaptation extends Adaptation { /** * Returns the value of the 'Port' container reference. * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.PortInstance#getAdaptation Adaptation}'. * *

* If the meaning of the 'Port' container reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Port' 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 Port}' container reference. * * * @param value the new value of the 'Port' container reference. * @see #getPort() * @generated */ void setPort(PortInstance value); /** * Returns the value of the 'Parent' container reference. * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.DecompositionPortAdaptation#getChildren Children}'. * *

* If the meaning of the 'Parent' container reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Parent' 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 Parent}' container reference. * * * @param value the new value of the 'Parent' container reference. * @see #getParent() * @generated */ void setParent(DecompositionPortAdaptation value); /** * * * @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