org.eclipse.mofscript.fileresourcemodel.frm.impl
Class FileResourceImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.mofscript.fileresourcemodel.frm.impl.FileResourceImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, FileResource

public class FileResourceImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements FileResource

An implementation of the model object 'File Resource'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 byte[] getContent()
           
 java.lang.String getExtension()
           
 java.lang.String getMimeType()
           
 java.lang.String getName()
           
 java.lang.String getRelativePath()
           
 void setContent(byte[] newContent)
           
 void setExtension(java.lang.String newExtension)
           
 void setMimeType(java.lang.String newMimeType)
           
 void setName(java.lang.String newName)
           
 void setRelativePath(java.lang.String newRelativePath)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getName

public java.lang.String getName()

Specified by:
getName in interface FileResource
Returns:
the value of the 'Name' attribute.
See Also:
FileResource.setName(String), FrmPackage.getFileResource_Name()

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface FileResource
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
FileResource.getName()

getExtension

public java.lang.String getExtension()

Specified by:
getExtension in interface FileResource
Returns:
the value of the 'Extension' attribute.
See Also:
FileResource.setExtension(String), FrmPackage.getFileResource_Extension()

setExtension

public void setExtension(java.lang.String newExtension)

Specified by:
setExtension in interface FileResource
Parameters:
newExtension - the new value of the 'Extension' attribute.
See Also:
FileResource.getExtension()

getRelativePath

public java.lang.String getRelativePath()

Specified by:
getRelativePath in interface FileResource
Returns:
the value of the 'Relative Path' attribute.
See Also:
FileResource.setRelativePath(String), FrmPackage.getFileResource_RelativePath()

setRelativePath

public void setRelativePath(java.lang.String newRelativePath)

Specified by:
setRelativePath in interface FileResource
Parameters:
newRelativePath - the new value of the 'Relative Path' attribute.
See Also:
FileResource.getRelativePath()

getMimeType

public java.lang.String getMimeType()

Specified by:
getMimeType in interface FileResource
Returns:
the value of the 'Mime Type' attribute.
See Also:
FileResource.setMimeType(String), FrmPackage.getFileResource_MimeType()

setMimeType

public void setMimeType(java.lang.String newMimeType)

Specified by:
setMimeType in interface FileResource
Parameters:
newMimeType - the new value of the 'Mime Type' attribute.
See Also:
FileResource.getMimeType()

getContent

public byte[] getContent()

Specified by:
getContent in interface FileResource
Returns:
the value of the 'Content' attribute.
See Also:
FileResource.setContent(byte[]), FrmPackage.getFileResource_Content()

setContent

public void setContent(byte[] newContent)

Specified by:
setContent in interface FileResource
Parameters:
newContent - the new value of the 'Content' attribute.
See Also:
FileResource.getContent()

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl