org.nasdanika.models.java.Code Maven / Gradle / Ivy
/**
*/
package org.nasdanika.models.java;
/**
*
* A representation of the model object 'Code'.
*
*
*
* The following features are supported:
*
*
* - {@link org.nasdanika.models.java.Code#getBody Body}
*
*
* @see org.nasdanika.models.java.JavaPackage#getCode()
* @model
* @generated
*/
public interface Code extends Member {
/**
* Returns the value of the 'Body' containment reference.
*
*
* @return the value of the 'Body' containment reference.
* @see #setBody(Source)
* @see org.nasdanika.models.java.JavaPackage#getCode_Body()
* @model containment="true"
* @generated
*/
Source getBody();
/**
* Sets the value of the '{@link org.nasdanika.models.java.Code#getBody Body}' containment reference.
*
*
* @param value the new value of the 'Body' containment reference.
* @see #getBody()
* @generated
*/
void setBody(Source value);
static Code create(CharSequence source) {
Code ret = JavaFactory.eINSTANCE.createCode();
ret.setSource(source.toString());
return ret;
}
} // Code