Interface SourceRef
- All Superinterfaces:
Element,org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
SourceRefImpl
public interface SourceRef extends Element
A representation of the model object 'Ref'.
The following features are supported:
- See Also:
SourcePackage.getSourceRef()
-
Method Summary
Modifier and Type Method Description StringgetLanguage()Returns the value of the 'Language' attribute.org.eclipse.emf.common.util.EList<SourceRegion>getRegion()Returns the value of the 'Region' containment reference list.StringgetSnippet()Returns the value of the 'Snippet' attribute.voidsetLanguage(String value)Sets the value of the 'Language' attribute.voidsetSnippet(String value)Sets the value of the 'Snippet' attribute.Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.Element
getAnnotation, getAttributeMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getRegion
org.eclipse.emf.common.util.EList<SourceRegion> getRegion()Returns the value of the 'Region' containment reference list. The list contents are of typeSourceRegion.- Returns:
- the value of the 'Region' containment reference list.
- See Also:
SourcePackage.getSourceRef_Region()
-
getLanguage
String getLanguage()Returns the value of the 'Language' attribute.- Returns:
- the value of the 'Language' attribute.
- See Also:
setLanguage(String),SourcePackage.getSourceRef_Language()
-
setLanguage
Sets the value of the 'Language' attribute.- Parameters:
value- the new value of the 'Language' attribute.- See Also:
getLanguage()
-
getSnippet
String getSnippet()Returns the value of the 'Snippet' attribute.- Returns:
- the value of the 'Snippet' attribute.
- See Also:
setSnippet(String),SourcePackage.getSourceRef_Snippet()
-
setSnippet
Sets the value of the 'Snippet' attribute.- Parameters:
value- the new value of the 'Snippet' attribute.- See Also:
getSnippet()
-