eu.mihosoft.vmf.vmftext.grammar.ReadOnlyAlternativeBase Maven / Gradle / Ivy
The newest version!
package eu.mihosoft.vmf.vmftext.grammar;
// vmf imports
// import eu.mihosoft.vmf.runtime.core.*;
import eu.mihosoft.vcollections.*;
// property types imports
// interface
/**
* An read-only representation of the model object {@code eu.mihosoft.vmf.vmftext.grammar.AlternativeBase}.
*
*
*
*
*/
public interface ReadOnlyAlternativeBase extends eu.mihosoft.vmf.runtime.core.VObject, ReadOnlyWithText,ReadOnlyWithId, eu.mihosoft.vmf.runtime.core.ReadOnly {
/**
* Returns the value of the 'elements' containment list.
*
* It is bidirectional and its opposite is '{@link ReadOnlyUPElement#getParentAlt() parentAlt}'.
*
*
*
*
* @return the value of the 'elements' containment list.
*/
// generic model type
public VList getElements();
/**
* Returns the value of the 'parentRule' container reference.
*
* It is bidirectional and its opposite is '{@link ReadOnlyUPRuleBase#getAlternatives() alternatives}'.
*
*
*
*
* @return the value of the 'parentRule' container reference.
* @see AlternativeBase#\setParentRule(eu.mihosoft.vmf.vmftext.grammar.UPRuleBase)
*/
public ReadOnlyUPRuleBase getParentRule();
/**
* Returns a deep clone of this object.
* @return a deep clone of this object
*/
@Override
public ReadOnlyAlternativeBase clone();
@Override
default ReadOnlyAlternativeBase asReadOnly() {
return this;
}
}