org.nasdanika.models.java.NamedElement Maven / Gradle / Ivy
/**
*/
package org.nasdanika.models.java;
import org.eclipse.emf.common.util.EList;
/**
*
* A representation of the model object 'Named Element'.
*
*
*
* The following features are supported:
*
*
* - {@link org.nasdanika.models.java.NamedElement#getName Name}
* - {@link org.nasdanika.models.java.NamedElement#getFullyQualifiedName Fully Qualified Name}
* - {@link org.nasdanika.models.java.NamedElement#getReferrers Referrers}
*
*
* @see org.nasdanika.models.java.JavaPackage#getNamedElement()
* @model
* @generated
*/
public interface NamedElement extends Source {
/**
* Returns the value of the 'Name' attribute.
*
*
*
* Simple (short) name. E.g. Map
*
* @return the value of the 'Name' attribute.
* @see #setName(String)
* @see org.nasdanika.models.java.JavaPackage#getNamedElement_Name()
* @model
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.nasdanika.models.java.NamedElement#getName Name}' attribute.
*
*
* @param value the new value of the 'Name' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the 'Fully Qualified Name' attribute.
*
*
*
* Fully qualified name where applicable. E.g. java.util.Map
*
* @return the value of the 'Fully Qualified Name' attribute.
* @see #setFullyQualifiedName(String)
* @see org.nasdanika.models.java.JavaPackage#getNamedElement_FullyQualifiedName()
* @model
* @generated
*/
String getFullyQualifiedName();
/**
* Sets the value of the '{@link org.nasdanika.models.java.NamedElement#getFullyQualifiedName Fully Qualified Name}' attribute.
*
*
* @param value the new value of the 'Fully Qualified Name' attribute.
* @see #getFullyQualifiedName()
* @generated
*/
void setFullyQualifiedName(String value);
/**
* Returns the value of the 'Referrers' reference list.
* The list contents are of type {@link org.nasdanika.models.java.Reference}.
* It is bidirectional and its opposite is '{@link org.nasdanika.models.java.Reference#getTarget Target}'.
*
*
* @return the value of the 'Referrers' reference list.
* @see org.nasdanika.models.java.JavaPackage#getNamedElement_Referrers()
* @see org.nasdanika.models.java.Reference#getTarget
* @model opposite="target"
* @generated
*/
EList getReferrers();
static NamedElement create(String name, String value) {
NamedElement ne = JavaFactory.eINSTANCE.createNamedElement();
ne.setName(name);
ne.setSource(value);
return ne;
}
} // NamedElement