eu.mihosoft.vmf.vmftext.grammar.WithId 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 interface-only representation of the model object {@code eu.mihosoft.vmf.vmftext.grammar.WithId}.
*
*
*
*
*/
public interface WithId extends eu.mihosoft.vmf.runtime.core.VObject, Cloneable, eu.mihosoft.vmf.runtime.core.Mutable {
/**
* Returns the value of the 'id' property.
*
*
*
*
* @return the value of the 'id' property.
* @see WithId#setId(int)
*/
int getId();
/**
* Sets the value of the 'id' property.
*
*
*
*
* @param id the value to set
* @see WithId#getId()
*/
void setId(int id);
// --------------------------------------------------------------------
// --- declaration of delegation methods
// --------------------------------------------------------------------
/**
* Returns a read-only wrapper of '{@link WithId WithId}'
* @return a read-only wrapper of '{@link WithId WithId}'
*/
ReadOnlyWithId asReadOnly();
/**
* Returns a deep clone of this object.
* @return a deep clone of this object
*/
@Override
WithId clone() /*throws CloneNotSupportedException*/;
}