Interface SourceFile
- All Superinterfaces:
AbstractInventoryElement,Element,org.eclipse.emf.ecore.EObject,InventoryItem,KDMEntity,ModelElement,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
SourceFileImpl
public interface SourceFile extends InventoryItem
A representation of the model object 'File'.
The following features are supported:
- See Also:
SourcePackage.getSourceFile()
-
Method Summary
Modifier and Type Method Description StringgetEncoding()Returns the value of the 'Encoding' attribute.StringgetLanguage()Returns the value of the 'Language' attribute.voidsetEncoding(String value)Sets the value of the 'Encoding' attribute.voidsetLanguage(String value)Sets the value of the 'Language' attribute.Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.source.AbstractInventoryElement
getInventoryRelationMethods 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.gmt.modisco.omg.kdm.source.InventoryItem
getPath, getVersion, setPath, setVersionMethods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.KDMEntity
createAggregation, deleteAggregation, getGroup, getGroupedElement, getInAggregated, getInbound, getModel, getName, getOutAggregated, getOutbound, getOwnedElement, getOwnedRelation, getOwner, setNameMethods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.ModelElement
getStereotype, getTaggedValueMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getLanguage
String getLanguage()Returns the value of the 'Language' attribute.- Returns:
- the value of the 'Language' attribute.
- See Also:
setLanguage(String),SourcePackage.getSourceFile_Language()
-
setLanguage
Sets the value of the 'Language' attribute.- Parameters:
value- the new value of the 'Language' attribute.- See Also:
getLanguage()
-
getEncoding
String getEncoding()Returns the value of the 'Encoding' attribute.- Returns:
- the value of the 'Encoding' attribute.
- See Also:
setEncoding(String),SourcePackage.getSourceFile_Encoding()
-
setEncoding
Sets the value of the 'Encoding' attribute.- Parameters:
value- the new value of the 'Encoding' attribute.- See Also:
getEncoding()
-