org.eclipse.mofscript.fileresourcemodel.frm
Interface FileResource

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
FileResourceImpl

public interface FileResource
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'File Resource'.

The following features are supported:

See Also:
FrmPackage.getFileResource()

Method Summary
 byte[] getContent()
          Returns the value of the 'Content' attribute
 java.lang.String getExtension()
          Returns the value of the 'Extension' attribute
 java.lang.String getMimeType()
          Returns the value of the 'Mime Type' attribute
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 java.lang.String getRelativePath()
          Returns the value of the 'Relative Path' attribute
 void setContent(byte[] value)
          Sets the value of the 'Content' attribute
 void setExtension(java.lang.String value)
          Sets the value of the 'Extension' attribute
 void setMimeType(java.lang.String value)
          Sets the value of the 'Mime Type' attribute
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setRelativePath(java.lang.String value)
          Sets the value of the 'Relative Path' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), FrmPackage.getFileResource_Name()

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getExtension

java.lang.String getExtension()
Returns the value of the 'Extension' attribute.

If the meaning of the 'Extension' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Extension' attribute.
See Also:
setExtension(String), FrmPackage.getFileResource_Extension()

setExtension

void setExtension(java.lang.String value)
Sets the value of the 'Extension' attribute.

Parameters:
value - the new value of the 'Extension' attribute.
See Also:
getExtension()

getRelativePath

java.lang.String getRelativePath()
Returns the value of the 'Relative Path' attribute.

If the meaning of the 'Relative Path' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Relative Path' attribute.
See Also:
setRelativePath(String), FrmPackage.getFileResource_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()

getMimeType

java.lang.String getMimeType()
Returns the value of the 'Mime Type' attribute.

If the meaning of the 'Mime Type' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Mime Type' attribute.
See Also:
setMimeType(String), FrmPackage.getFileResource_MimeType()

setMimeType

void setMimeType(java.lang.String value)
Sets the value of the 'Mime Type' attribute.

Parameters:
value - the new value of the 'Mime Type' attribute.
See Also:
getMimeType()

getContent

byte[] getContent()
Returns the value of the 'Content' attribute.

If the meaning of the 'Content' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Content' attribute.
See Also:
setContent(byte[]), FrmPackage.getFileResource_Content()

setContent

void setContent(byte[] value)
Sets the value of the 'Content' attribute.

Parameters:
value - the new value of the 'Content' attribute.
See Also:
getContent()