
eu.mihosoft.vmf.vmftext.grammar.ReadOnlyProperty 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.Property}.
*
*
*
*
*/
public interface ReadOnlyProperty extends eu.mihosoft.vmf.runtime.core.VObject, ReadOnlyWithName,ReadOnlyWithType,ReadOnlyCodeElement, eu.mihosoft.vmf.runtime.core.ReadOnly {
/**
* Returns the value of the 'annotations' containment list.
*
* It is bidirectional and its opposite is '{@link ReadOnlyPropertyAnnotation#getProperty() property}'.
*
*
*
*
* @return the value of the 'annotations' containment list.
*/
// generic model type
public VList getAnnotations();
/**
* Returns the value of the 'parent' container reference.
*
* It is bidirectional and its opposite is '{@link ReadOnlyRuleClass#getProperties() properties}'.
*
*
*
*
* @return the value of the 'parent' container reference.
* @see Property#\setParent(eu.mihosoft.vmf.vmftext.grammar.RuleClass)
*/
public ReadOnlyRuleClass getParent();
/**
* Returns the value of the 'type' property.
*
*
*
*
* @return the value of the 'type' property.
* @see Property#\setType(eu.mihosoft.vmf.vmftext.grammar.Type)
*/
public Type getType();
/**
* Returns a deep clone of this object.
* @return a deep clone of this object
*/
@Override
public ReadOnlyProperty clone();
@Override
default ReadOnlyProperty asReadOnly() {
return this;
}
/**
* Returns a modifiable deep clone of this object.
* @return a modifiable deep clone of this object
*/
Property asModifiable();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy