package org.omg.uml.behavioralelements.collaborations; /** * Interaction object instance interface. * * <p><em><strong>Note:</strong> This type should not be subclassed or implemented * by clients. It is generated from a MOF metamodel and automatically implemented * by MDR (see <a href="http://mdr.netbeans.org/">mdr.netbeans.org</a>).</em></p> */ public interface Interaction extends org.omg.uml.foundation.core.ModelElement { /** * Returns the value of reference message. * @return Value of reference message. Element type: {@link org.omg.uml.behavioralelements.collaborations.Message} */ public java.util.Collection<org.omg.uml.behavioralelements.collaborations.Message> getMessage(); /** * Returns the value of reference context. * @return Value of reference context. */ public org.omg.uml.behavioralelements.collaborations.Collaboration getContext(); /** * Sets the value of reference context. See {@link #getContext} for description * on the reference. * @param newValue New value to be set. */ public void setContext(org.omg.uml.behavioralelements.collaborations.Collaboration newValue); }