org.metaabm.impl
Class SImplementationImpl

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.metaabm.impl.SImplementationImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, SImplementation

public class SImplementationImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements SImplementation


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>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static char sc
           
 
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
static java.lang.String addDir(java.lang.String currentPath, java.lang.String candidatePath)
          Adds a dir to the current path, adding a seperator IFF both paths are not empty or null.
 org.eclipse.emf.common.notify.NotificationChain basicSetTarget(SImplemented newTarget, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.String derive(Derivable derivable)
          If this object's value for the derived parent is null, return the parent's value for the derivable.
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String getBasePath()
           
 java.lang.String getBinDir()
           
 java.lang.String getClassFileLoc()
          Returns the value of the 'Class File Loc' attribute.
 java.lang.String getClassName()
           
 java.lang.String getDerivedBinDir()
          Returns the value of the 'Derived Bin Dir' attribute.
 java.lang.String getDerivedPackage()
          Returns the value of the 'Derived Package' attribute.
 java.lang.String getDerivedPath()
          Returns the value of the 'Derived Path' attribute.
 java.lang.String getDerivedSrcDir()
          Returns the value of the 'Derived Src Dir' attribute.
 java.lang.String getJavaFileLoc()
          Returns the value of the 'Java File Loc' attribute.
 SImplementationMode getMode()
           
 java.lang.String getPackage()
           
 java.lang.String getPackagePath()
           
 java.lang.String getQualifiedName()
          Returns the value of the 'Qualified Name' attribute.
 java.lang.String getSrcDir()
           
 SImplemented getTarget()
           
 void setBasePath(java.lang.String newBasePath)
           
 void setBinDir(java.lang.String newBinDir)
           
 void setClassName(java.lang.String newClassName)
           
 void setMode(SImplementationMode newMode)
           
 void setPackage(java.lang.String newPackage)
           
 void setSrcDir(java.lang.String newSrcDir)
           
 void setTarget(SImplemented newTarget)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, 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, eInvoke, 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
 

Field Detail

sc

public static final char sc
See Also:
Constant Field Values
Method Detail

getPackage

public java.lang.String getPackage()

Specified by:
getPackage in interface SImplementation
Returns:
the value of the 'Package' attribute.
See Also:
SImplementation.setPackage(String), MetaABMPackage.getSImplementation_Package()

setPackage

public void setPackage(java.lang.String newPackage)

Specified by:
setPackage in interface SImplementation
Parameters:
newPackage - the new value of the 'Package' attribute.
See Also:
SImplementation.getPackage()

getClassName

public java.lang.String getClassName()

Specified by:
getClassName in interface SImplementation
Returns:
the value of the 'Class Name' attribute.
See Also:
SImplementation.setClassName(String), MetaABMPackage.getSImplementation_ClassName()

setClassName

public void setClassName(java.lang.String newClassName)

Specified by:
setClassName in interface SImplementation
Parameters:
newClassName - the new value of the 'Class Name' attribute.
See Also:
SImplementation.getClassName()

getBasePath

public java.lang.String getBasePath()

Specified by:
getBasePath in interface SImplementation
Returns:
the value of the 'Base Path' attribute.
See Also:
SImplementation.setBasePath(String), MetaABMPackage.getSImplementation_BasePath()

setBasePath

public void setBasePath(java.lang.String newBasePath)

Specified by:
setBasePath in interface SImplementation
Parameters:
newBasePath - the new value of the 'Base Path' attribute.
See Also:
SImplementation.getBasePath()

derive

public java.lang.String derive(Derivable derivable)
Description copied from interface: SImplementation
If this object's value for the derived parent is null, return the parent's value for the derivable.

Specified by:
derive in interface SImplementation
Returns:

getDerivedPackage

public java.lang.String getDerivedPackage()
Description copied from interface: SImplementation
Returns the value of the 'Derived Package' attribute.

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

Specified by:
getDerivedPackage in interface SImplementation
Returns:
the value of the 'Derived Package' attribute.
See Also:
MetaABMPackage.getSImplementation_DerivedPackage()

addDir

public static java.lang.String addDir(java.lang.String currentPath,
                                      java.lang.String candidatePath)
Adds a dir to the current path, adding a seperator IFF both paths are not empty or null.

Parameters:
currentPath -
candidatePath -
Returns:

getPackagePath

public java.lang.String getPackagePath()
Specified by:
getPackagePath in interface SImplementation

getClassFileLoc

public java.lang.String getClassFileLoc()
Description copied from interface: SImplementation
Returns the value of the 'Class File Loc' attribute. The default value is "". The precise location of any related binary class file, e.g. "../projectdir/bin/org/foo/MyClass.class" or "/root/projectdir/bin/org/foo/MyClass.class".

Specified by:
getClassFileLoc in interface SImplementation
Returns:
the value of the 'Class File Loc' attribute.
See Also:
org.metaabmPackage#getSImplementation_ClassFileLoc()

getJavaFileLoc

public java.lang.String getJavaFileLoc()
Description copied from interface: SImplementation
Returns the value of the 'Java File Loc' attribute.

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

The precise location of any related java file, e.g. \"../projectdir/srcgen/org/foo/MyClass.java\" or \"/root/projectdir/srcgen/org/foo/MyClass.java\".

Specified by:
getJavaFileLoc in interface SImplementation
Returns:
the value of the 'Java File Loc' attribute.
See Also:
MetaABMPackage.getSImplementation_JavaFileLoc()

getDerivedBinDir

public java.lang.String getDerivedBinDir()
Description copied from interface: SImplementation
Returns the value of the 'Derived Bin Dir' attribute.

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

Specified by:
getDerivedBinDir in interface SImplementation
Returns:
the value of the 'Derived Bin Dir' attribute.
See Also:
MetaABMPackage.getSImplementation_DerivedBinDir()

getDerivedSrcDir

public java.lang.String getDerivedSrcDir()
Description copied from interface: SImplementation
Returns the value of the 'Derived Src Dir' attribute.

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

Specified by:
getDerivedSrcDir in interface SImplementation
Returns:
the value of the 'Derived Src Dir' attribute.
See Also:
MetaABMPackage.getSImplementation_DerivedSrcDir()

getDerivedPath

public java.lang.String getDerivedPath()
Description copied from interface: SImplementation
Returns the value of the 'Derived Path' attribute.

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

Specified by:
getDerivedPath in interface SImplementation
Returns:
the value of the 'Derived Path' attribute.
See Also:
MetaABMPackage.getSImplementation_DerivedPath()

getQualifiedName

public java.lang.String getQualifiedName()
Description copied from interface: SImplementation
Returns the value of the 'Qualified Name' attribute.

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

Specified by:
getQualifiedName in interface SImplementation
Returns:
the value of the 'Qualified Name' attribute.
See Also:
MetaABMPackage.getSImplementation_QualifiedName()

getSrcDir

public java.lang.String getSrcDir()

Specified by:
getSrcDir in interface SImplementation
Returns:
the value of the 'Src Dir' attribute.
See Also:
SImplementation.setSrcDir(String), MetaABMPackage.getSImplementation_SrcDir()

setSrcDir

public void setSrcDir(java.lang.String newSrcDir)

Specified by:
setSrcDir in interface SImplementation
Parameters:
newSrcDir - the new value of the 'Src Dir' attribute.
See Also:
SImplementation.getSrcDir()

getBinDir

public java.lang.String getBinDir()

Specified by:
getBinDir in interface SImplementation
Returns:
the value of the 'Bin Dir' attribute.
See Also:
SImplementation.setBinDir(String), MetaABMPackage.getSImplementation_BinDir()

setBinDir

public void setBinDir(java.lang.String newBinDir)

Specified by:
setBinDir in interface SImplementation
Parameters:
newBinDir - the new value of the 'Bin Dir' attribute.
See Also:
SImplementation.getBinDir()

getMode

public SImplementationMode getMode()

Specified by:
getMode in interface SImplementation
Returns:
the value of the 'Mode' attribute.
See Also:
SImplementationMode, SImplementation.setMode(SImplementationMode), MetaABMPackage.getSImplementation_Mode()

setMode

public void setMode(SImplementationMode newMode)

Specified by:
setMode in interface SImplementation
Parameters:
newMode - the new value of the 'Mode' attribute.
See Also:
SImplementationMode, SImplementation.getMode()

getTarget

public SImplemented getTarget()

Specified by:
getTarget in interface SImplementation
Returns:
the value of the 'Target' container reference.
See Also:
SImplementation.setTarget(SImplemented), MetaABMPackage.getSImplementation_Target(), SImplemented.getImplementation()

basicSetTarget

public org.eclipse.emf.common.notify.NotificationChain basicSetTarget(SImplemented newTarget,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setTarget

public void setTarget(SImplemented newTarget)

Specified by:
setTarget in interface SImplementation
Parameters:
newTarget - the new value of the 'Target' container reference.
See Also:
SImplementation.getTarget()

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

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

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

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

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

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

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