Interface File
-
- All Superinterfaces:
java.lang.Comparable<java.lang.Object>
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,ModelElement
,org.eclipse.emf.common.notify.Notifier
,Unit
public interface File extends Unit
A representation of the model object 'File'.The following features are supported:
- See Also:
RhapsodyPackage.getFile()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MDWEList
getElements()
Returns the value of the 'Elements' reference list.MDWEList
getFileFragments()
Returns the value of the 'File Fragments' reference list.java.lang.String
getFilePath(int key)
MDWEList
getFiles()
Returns the value of the 'Files' reference list.FileKind
getFileType()
Returns the value of the 'File Type' attribute.java.lang.String
getImpName()
Returns the value of the 'Imp Name' attribute.java.lang.String
getPath()
Returns the value of the 'Path' attribute.java.lang.String
getRelativePath()
Returns the value of the 'Relative Path' attribute.java.lang.String
getSpecName()
Returns the value of the 'Spec Name' attribute.void
setFileType(FileKind value)
Sets the value of the 'File Type
' attribute.void
setImpName(java.lang.String value)
Sets the value of the 'Imp Name
' attribute.void
setPath(java.lang.String value)
Sets the value of the 'Path
' attribute.void
setRelativePath(java.lang.String value)
Sets the value of the 'Relative Path
' attribute.void
setSpecName(java.lang.String value)
Sets the value of the 'Spec Name
' attribute.-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.rhapsody.ModelElement
getAllTags, getAnnotations, getConstraints, getConstraintsByHim, getControlledFiles, getDependencies, getDescription, getDescriptionHTML, getDescriptionRTF, getDisplayName, getFullPathName, getGUID, getHyperLinks, getInterfaceName, getLocalTags, getMainDiagram, getMetaClass, getName, getOfTemplate, getOwnedDependencies, getOwner, getProject, getProperties, getProperty, getReferences, getStereotype, getStereotypes, getTemplateParameters, getTi, getUserDefinedMetaClass, isATemplate, isExternal, isRequirementTraceabilityHandle, isShowDisplayName, isUnresolved, setDescription, setDescriptionHTML, setDescriptionRTF, setDisplayName, setFullPathName, setGUID, setInterfaceName, setIsATemplate, setIsExternal, setIsShowDisplayName, setIsUnresolved, setMainDiagram, setMetaClass, setName, setOfTemplate, setOwner, setProject, setRequirementTraceabilityHandle, setStereotype, setTi, setUserDefinedMetaClass
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.rhapsody.Unit
getCMHeader, getCurrentDirectory, getFilename, getLanguage, getLastModifiedTime, getStructureDiagrams, isIncludeInNextLoad, isReadOnly, isReferenceUnit, isSeparateSaveUnit, isStub, setCMHeader, setCurrentDirectory, setFilename, setIncludeInNextLoad, setIsReadOnly, setIsReferenceUnit, setIsSeparateSaveUnit, setIsStub, setLanguage, setLastModifiedTime
-
-
-
-
Method Detail
-
getFileType
FileKind getFileType()
Returns the value of the 'File Type' attribute. The default value is""
. The literals are from the enumerationFileKind
.- Returns:
- the value of the 'File Type' attribute.
- See Also:
FileKind
,setFileType(FileKind)
,RhapsodyPackage.getFile_FileType()
-
setFileType
void setFileType(FileKind value)
Sets the value of the 'File Type
' attribute.- Parameters:
value
- the new value of the 'File Type' attribute.- See Also:
FileKind
,getFileType()
-
getPath
java.lang.String getPath()
Returns the value of the 'Path' attribute. The default value is""
.- Returns:
- the value of the 'Path' attribute.
- See Also:
setPath(String)
,RhapsodyPackage.getFile_Path()
-
setPath
void setPath(java.lang.String value)
Sets the value of the 'Path
' attribute.- Parameters:
value
- the new value of the 'Path' attribute.- See Also:
getPath()
-
getImpName
java.lang.String getImpName()
Returns the value of the 'Imp Name' attribute. The default value is""
.- Returns:
- the value of the 'Imp Name' attribute.
- See Also:
setImpName(String)
,RhapsodyPackage.getFile_ImpName()
-
setImpName
void setImpName(java.lang.String value)
Sets the value of the 'Imp Name
' attribute.- Parameters:
value
- the new value of the 'Imp Name' attribute.- See Also:
getImpName()
-
getSpecName
java.lang.String getSpecName()
Returns the value of the 'Spec Name' attribute. The default value is""
.- Returns:
- the value of the 'Spec Name' attribute.
- See Also:
setSpecName(String)
,RhapsodyPackage.getFile_SpecName()
-
setSpecName
void setSpecName(java.lang.String value)
Sets the value of the 'Spec Name
' attribute.- Parameters:
value
- the new value of the 'Spec Name' attribute.- See Also:
getSpecName()
-
getFiles
MDWEList getFiles()
Returns the value of the 'Files' reference list. The list contents are of typeFile
.- Returns:
- the value of the 'Files' reference list.
- See Also:
RhapsodyPackage.getFile_Files()
-
getElements
MDWEList getElements()
Returns the value of the 'Elements' reference list. The list contents are of typeModelElement
.- Returns:
- the value of the 'Elements' reference list.
- See Also:
RhapsodyPackage.getFile_Elements()
-
getFileFragments
MDWEList getFileFragments()
Returns the value of the 'File Fragments' reference list. The list contents are of typeFileFragment
.- Returns:
- the value of the 'File Fragments' reference list.
- See Also:
RhapsodyPackage.getFile_FileFragments()
-
getFilePath
java.lang.String getFilePath(int key)
-
getRelativePath
java.lang.String getRelativePath()
Returns the value of the 'Relative Path' attribute. The default value is""
.- Returns:
- the value of the 'Relative Path' attribute.
- See Also:
setRelativePath(String)
,RhapsodyPackage.getFile_RelativePath()
-
setRelativePath
void setRelativePath(java.lang.String value)
Sets the value of the 'Relative Path
' attribute.- Parameters:
value
- the new value of the 'Relative Path' attribute.- See Also:
getRelativePath()
-
-