Package org.emftext.commons.jdt.impl
Class JDTJavaClassifierImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- org.emftext.commons.jdt.impl.JDTJavaClassifierImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,InternalEObject
,JDTJavaClassifier
public class JDTJavaClassifierImpl extends EObjectImpl implements JDTJavaClassifier
An implementation of the model object 'JDT Java Classifier'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
abstract_
The cached value of the 'Abstract
' attribute.protected static boolean
ABSTRACT_EDEFAULT
The default value of the 'Abstract
' attribute.protected EList<JDTField>
cachedFields
The cached value of the 'Cached Fields
' reference list.protected EList<String>
enclosingTypeNames
The cached value of the 'Enclosing Type Names
' attribute list.protected boolean
enum_
The cached value of the 'Enum
' attribute.protected static boolean
ENUM_EDEFAULT
The default value of the 'Enum
' attribute.protected static boolean
HAS_CACHED_FIELDS_EDEFAULT
The default value of the 'Has Cached Fields
' attribute.protected boolean
hasCachedFields
The cached value of the 'Has Cached Fields
' attribute.protected boolean
interface_
The cached value of the 'Interface
' attribute.protected static boolean
INTERFACE_EDEFAULT
The default value of the 'Interface
' attribute.protected static String
PACKAGE_NAME_EDEFAULT
The default value of the 'Package Name
' attribute.protected String
packageName
The cached value of the 'Package Name
' attribute.protected String
path
The cached value of the 'Path
' attribute.protected static String
PATH_EDEFAULT
The default value of the 'Path
' attribute.protected static String
PROJECT_NAME_EDEFAULT
The default value of the 'Project Name
' attribute.protected String
projectName
The cached value of the 'Project Name
' attribute.protected static String
SIMPLE_NAME_EDEFAULT
The default value of the 'Simple Name
' attribute.protected String
simpleName
The cached value of the 'Simple Name
' attribute.-
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JDTJavaClassifierImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
eGet(int featureID, boolean resolve, boolean coreType)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected EClass
eStaticClass()
void
eUnset(int featureID)
EList<JDTField>
getCachedFields()
EList<String>
getEnclosingTypeNames()
EList<JDTField>
getFields()
String
getPackageName()
String
getPath()
String
getProjectName()
String
getQualifiedName()
String
getSimpleName()
boolean
isAbstract()
boolean
isEnum()
boolean
isHasCachedFields()
boolean
isInterface()
void
setAbstract(boolean newAbstract)
void
setEnum(boolean newEnum)
void
setHasCachedFields(boolean newHasCachedFields)
void
setInterface(boolean newInterface)
void
setPackageName(String newPackageName)
void
setPath(String newPath)
void
setProjectName(String newProjectName)
void
setSimpleName(String newSimpleName)
String
toString()
-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, 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.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
SIMPLE_NAME_EDEFAULT
protected static final String SIMPLE_NAME_EDEFAULT
The default value of the 'Simple Name
' attribute.- See Also:
getSimpleName()
- Generated class or method.
- Ordered collection.
-
simpleName
protected String simpleName
The cached value of the 'Simple Name
' attribute.- See Also:
getSimpleName()
- Generated class or method.
- Ordered collection.
-
PACKAGE_NAME_EDEFAULT
protected static final String PACKAGE_NAME_EDEFAULT
The default value of the 'Package Name
' attribute.- See Also:
getPackageName()
- Generated class or method.
- Ordered collection.
-
packageName
protected String packageName
The cached value of the 'Package Name
' attribute.- See Also:
getPackageName()
- Generated class or method.
- Ordered collection.
-
enclosingTypeNames
protected EList<String> enclosingTypeNames
The cached value of the 'Enclosing Type Names
' attribute list.- See Also:
getEnclosingTypeNames()
- Generated class or method.
- Ordered collection.
-
PATH_EDEFAULT
protected static final String PATH_EDEFAULT
The default value of the 'Path
' attribute.- See Also:
getPath()
- Generated class or method.
- Ordered collection.
-
path
protected String path
The cached value of the 'Path
' attribute.- See Also:
getPath()
- Generated class or method.
- Ordered collection.
-
cachedFields
protected EList<JDTField> cachedFields
The cached value of the 'Cached Fields
' reference list.- See Also:
getCachedFields()
- Generated class or method.
- Ordered collection.
-
HAS_CACHED_FIELDS_EDEFAULT
protected static final boolean HAS_CACHED_FIELDS_EDEFAULT
The default value of the 'Has Cached Fields
' attribute.- See Also:
isHasCachedFields()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
hasCachedFields
protected boolean hasCachedFields
The cached value of the 'Has Cached Fields
' attribute.- See Also:
isHasCachedFields()
- Generated class or method.
- Ordered collection.
-
PROJECT_NAME_EDEFAULT
protected static final String PROJECT_NAME_EDEFAULT
The default value of the 'Project Name
' attribute.- See Also:
getProjectName()
- Generated class or method.
- Ordered collection.
-
projectName
protected String projectName
The cached value of the 'Project Name
' attribute.- See Also:
getProjectName()
- Generated class or method.
- Ordered collection.
-
ABSTRACT_EDEFAULT
protected static final boolean ABSTRACT_EDEFAULT
The default value of the 'Abstract
' attribute.- See Also:
isAbstract()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
abstract_
protected boolean abstract_
The cached value of the 'Abstract
' attribute.- See Also:
isAbstract()
- Generated class or method.
- Ordered collection.
-
INTERFACE_EDEFAULT
protected static final boolean INTERFACE_EDEFAULT
The default value of the 'Interface
' attribute.- See Also:
isInterface()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
interface_
protected boolean interface_
The cached value of the 'Interface
' attribute.- See Also:
isInterface()
- Generated class or method.
- Ordered collection.
-
ENUM_EDEFAULT
protected static final boolean ENUM_EDEFAULT
The default value of the 'Enum
' attribute.- See Also:
isEnum()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classEObjectImpl
- Generated class or method.
-
getSimpleName
public String getSimpleName()
- Specified by:
getSimpleName
in interfaceJDTJavaClassifier
- Returns:
- the value of the 'Simple Name' attribute.
- See Also:
JDTJavaClassifier.setSimpleName(String)
,JdtPackage.getJDTJavaClassifier_SimpleName()
- Generated class or method.
-
setSimpleName
public void setSimpleName(String newSimpleName)
- Specified by:
setSimpleName
in interfaceJDTJavaClassifier
- Parameters:
newSimpleName
- the new value of the 'Simple Name' attribute.- See Also:
JDTJavaClassifier.getSimpleName()
- Generated class or method.
-
getPackageName
public String getPackageName()
- Specified by:
getPackageName
in interfaceJDTJavaClassifier
- Returns:
- the value of the 'Package Name' attribute.
- See Also:
JDTJavaClassifier.setPackageName(String)
,JdtPackage.getJDTJavaClassifier_PackageName()
- Generated class or method.
-
setPackageName
public void setPackageName(String newPackageName)
- Specified by:
setPackageName
in interfaceJDTJavaClassifier
- Parameters:
newPackageName
- the new value of the 'Package Name' attribute.- See Also:
JDTJavaClassifier.getPackageName()
- Generated class or method.
-
getEnclosingTypeNames
public EList<String> getEnclosingTypeNames()
- Specified by:
getEnclosingTypeNames
in interfaceJDTJavaClassifier
- Returns:
- the value of the 'Enclosing Type Names' attribute list.
- See Also:
JdtPackage.getJDTJavaClassifier_EnclosingTypeNames()
- Generated class or method.
-
getPath
public String getPath()
- Specified by:
getPath
in interfaceJDTJavaClassifier
- Returns:
- the value of the 'Path' attribute.
- See Also:
JDTJavaClassifier.setPath(String)
,JdtPackage.getJDTJavaClassifier_Path()
- Generated class or method.
-
setPath
public void setPath(String newPath)
- Specified by:
setPath
in interfaceJDTJavaClassifier
- Parameters:
newPath
- the new value of the 'Path' attribute.- See Also:
JDTJavaClassifier.getPath()
- Generated class or method.
-
getCachedFields
public EList<JDTField> getCachedFields()
- Specified by:
getCachedFields
in interfaceJDTJavaClassifier
- Returns:
- the value of the 'Cached Fields' reference list.
- See Also:
JdtPackage.getJDTJavaClassifier_CachedFields()
- Generated class or method.
-
isHasCachedFields
public boolean isHasCachedFields()
- Specified by:
isHasCachedFields
in interfaceJDTJavaClassifier
- Returns:
- the value of the 'Has Cached Fields' attribute.
- See Also:
JDTJavaClassifier.setHasCachedFields(boolean)
,JdtPackage.getJDTJavaClassifier_HasCachedFields()
- Generated class or method.
-
setHasCachedFields
public void setHasCachedFields(boolean newHasCachedFields)
- Specified by:
setHasCachedFields
in interfaceJDTJavaClassifier
- Parameters:
newHasCachedFields
- the new value of the 'Has Cached Fields' attribute.- See Also:
JDTJavaClassifier.isHasCachedFields()
- Generated class or method.
-
getProjectName
public String getProjectName()
- Specified by:
getProjectName
in interfaceJDTJavaClassifier
- Returns:
- the value of the 'Project Name' attribute.
- See Also:
JDTJavaClassifier.setProjectName(String)
,JdtPackage.getJDTJavaClassifier_ProjectName()
- Generated class or method.
-
setProjectName
public void setProjectName(String newProjectName)
- Specified by:
setProjectName
in interfaceJDTJavaClassifier
- Parameters:
newProjectName
- the new value of the 'Project Name' attribute.- See Also:
JDTJavaClassifier.getProjectName()
- Generated class or method.
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interfaceJDTJavaClassifier
- Returns:
- the value of the 'Abstract' attribute.
- See Also:
JDTJavaClassifier.setAbstract(boolean)
,JdtPackage.getJDTJavaClassifier_Abstract()
- Generated class or method.
-
setAbstract
public void setAbstract(boolean newAbstract)
- Specified by:
setAbstract
in interfaceJDTJavaClassifier
- Parameters:
newAbstract
- the new value of the 'Abstract' attribute.- See Also:
JDTJavaClassifier.isAbstract()
- Generated class or method.
-
isInterface
public boolean isInterface()
- Specified by:
isInterface
in interfaceJDTJavaClassifier
- Returns:
- the value of the 'Interface' attribute.
- See Also:
JDTJavaClassifier.setInterface(boolean)
,JdtPackage.getJDTJavaClassifier_Interface()
- Generated class or method.
-
setInterface
public void setInterface(boolean newInterface)
- Specified by:
setInterface
in interfaceJDTJavaClassifier
- Parameters:
newInterface
- the new value of the 'Interface' attribute.- See Also:
JDTJavaClassifier.isInterface()
- Generated class or method.
-
isEnum
public boolean isEnum()
- Specified by:
isEnum
in interfaceJDTJavaClassifier
- Returns:
- the value of the 'Enum' attribute.
- See Also:
JDTJavaClassifier.setEnum(boolean)
,JdtPackage.getJDTJavaClassifier_Enum()
- Generated class or method.
-
setEnum
public void setEnum(boolean newEnum)
- Specified by:
setEnum
in interfaceJDTJavaClassifier
- Parameters:
newEnum
- the new value of the 'Enum' attribute.- See Also:
JDTJavaClassifier.isEnum()
- Generated class or method.
-
getQualifiedName
public String getQualifiedName()
- Specified by:
getQualifiedName
in interfaceJDTJavaClassifier
- Generated class or method.
-
getFields
public EList<JDTField> getFields()
- Specified by:
getFields
in interfaceJDTJavaClassifier
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classBasicEObjectImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classBasicEObjectImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classBasicEObjectImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classBasicEObjectImpl
- Generated class or method.
-
toString
public String toString()
- Overrides:
toString
in classBasicEObjectImpl
- Generated class or method.
-
-