|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.java.impl.JModelElementImpl
org.eclipse.emf.java.impl.JMemberImpl
org.eclipse.emf.java.impl.JClassImpl
public class JClassImpl
An implementation of the model object 'JClass'.
The following features are implemented:
AbstractFinalInterfaceThrowableJava ClassFieldsMethodsSuper TypesAll Super TypesMembersComponent TypeArray TypeUnitAll MethodsAll FieldsPackageTypesAll Types
| Nested Class Summary | |
|---|---|
protected static class |
JClassImpl.JHelper
|
| 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 java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected boolean |
abstract_
The cached value of the ' Abstract' attribute |
protected static boolean |
ABSTRACT_EDEFAULT
The default value of the ' Abstract' attribute |
protected EList<JClass> |
allTypes
|
protected JClass |
arrayType
The cached value of the ' Array Type' containment reference |
protected boolean |
final_
The cached value of the ' Final' attribute |
protected static boolean |
FINAL_EDEFAULT
The default value of the ' Final' attribute |
protected boolean |
interface_
The cached value of the ' Interface' attribute |
protected static boolean |
INTERFACE_EDEFAULT
The default value of the ' Interface' attribute |
protected java.lang.Class<?> |
javaClass
The cached value of the ' Java Class' attribute |
protected EList<JMember> |
members
The cached value of the ' Members' containment reference list |
protected JPackage |
package_
The cached value of the ' Package' reference |
protected EList<JClass> |
superTypes
The cached value of the ' Super Types' reference list |
protected boolean |
throwable
The cached value of the ' Throwable' attribute |
protected static boolean |
THROWABLE_EDEFAULT
The default value of the ' Throwable' attribute |
protected EList<JClass> |
types
|
| Fields inherited from class org.eclipse.emf.java.impl.JMemberImpl |
|---|
comment, COMMENT_EDEFAULT, static_, STATIC_EDEFAULT, visibility, VISIBILITY_EDEFAULT |
| Fields inherited from class org.eclipse.emf.java.impl.JModelElementImpl |
|---|
isReconciling, jNode, JNODE_EDEFAULT, name, NAME_EDEFAULT |
| 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 | |
|---|---|
protected |
JClassImpl()
|
| Methods inherited from class org.eclipse.emf.java.impl.JMemberImpl |
|---|
basicSetContainingType, getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility |
| Methods inherited from class org.eclipse.emf.java.impl.JModelElementImpl |
|---|
adoptContent, changeReference, eNotificationRequired, eNotify, getJNode, getName, moveContent, orphanContent, setJNode, setJNodeGen, setName |
| 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, 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, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.java.JMember |
|---|
getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility |
| Methods inherited from interface org.eclipse.emf.java.JModelElement |
|---|
getJNode, getName, setJNode, setName |
| 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 |
| Field Detail |
|---|
protected static final boolean ABSTRACT_EDEFAULT
Abstract' attribute.
isAbstract(),
Constant Field Valuesprotected boolean abstract_
Abstract' attribute.
isAbstract()protected static final boolean FINAL_EDEFAULT
Final' attribute.
isFinal(),
Constant Field Valuesprotected boolean final_
Final' attribute.
isFinal()protected static final boolean INTERFACE_EDEFAULT
Interface' attribute.
isInterface(),
Constant Field Valuesprotected boolean interface_
Interface' attribute.
isInterface()protected static final boolean THROWABLE_EDEFAULT
Throwable' attribute.
isThrowable(),
Constant Field Valuesprotected boolean throwable
Throwable' attribute.
isThrowable()protected java.lang.Class<?> javaClass
Java Class' attribute.
getJavaClass()protected EList<JClass> superTypes
Super Types' reference list.
getSuperTypes()protected EList<JMember> members
Members' containment reference list.
getMembers()protected JClass arrayType
Array Type' containment reference.
getArrayType()protected JPackage package_
Package' reference.
getPackage()protected EList<JClass> types
protected EList<JClass> allTypes
| Constructor Detail |
|---|
protected JClassImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class JMemberImplpublic boolean isAbstract()
isAbstract in interface JClassJClass.setAbstract(boolean),
JavaPackage.getJClass_Abstract()public void setAbstract(boolean newAbstract)
setAbstract in interface JClassnewAbstract - the new value of the 'Abstract' attribute.JClass.isAbstract()public boolean isFinal()
isFinal in interface JClassJClass.setFinal(boolean),
JavaPackage.getJClass_Final()public void setFinal(boolean newFinal)
setFinal in interface JClassnewFinal - the new value of the 'Final' attribute.JClass.isFinal()public boolean isInterface()
isInterface in interface JClassJClass.setInterface(boolean),
JavaPackage.getJClass_Interface()public void setInterface(boolean newInterface)
setInterface in interface JClassnewInterface - the new value of the 'Interface' attribute.JClass.isInterface()public boolean isThrowable()
isThrowable in interface JClassJClass.setThrowable(boolean),
JavaPackage.getJClass_Throwable()public void setThrowable(boolean newThrowable)
setThrowable in interface JClassnewThrowable - the new value of the 'Throwable' attribute.JClass.isThrowable()public java.lang.Class<?> getJavaClass()
getJavaClass in interface JClassJClass.setJavaClass(Class),
JavaPackage.getJClass_JavaClass()public void setJavaClass(java.lang.Class<?> newJavaClass)
setJavaClass in interface JClassnewJavaClass - the new value of the 'Java Class' attribute.JClass.getJavaClass()public EList<JField> getFields()
getFields in interface JClassJavaPackage.getJClass_Fields()public EList<JMethod> getMethods()
getMethods in interface JClassJavaPackage.getJClass_Methods()public EList<JClass> getSuperTypes()
getSuperTypes in interface JClassJavaPackage.getJClass_SuperTypes()public EList<JClass> getAllSuperTypes()
getAllSuperTypes in interface JClassJavaPackage.getJClass_AllSuperTypes()
protected <T> void collectAll(EStructuralFeature eStructuralFeature,
EList<T> target)
public EList<JMember> getMembers()
getMembers in interface JClassJavaPackage.getJClass_Members(),
JMember.getContainingType()public JClass getComponentType()
getComponentType in interface JClassJClass.setComponentType(JClass),
JavaPackage.getJClass_ComponentType(),
JClass.getArrayType()
public NotificationChain basicSetComponentType(JClass newComponentType,
NotificationChain msgs)
public void setComponentType(JClass newComponentType)
setComponentType in interface JClassnewComponentType - the new value of the 'Component Type' container reference.JClass.getComponentType()public JClass getArrayType()
getArrayType in interface JClassJClass.setArrayType(JClass),
JavaPackage.getJClass_ArrayType(),
JClass.getComponentType()
public NotificationChain basicSetArrayType(JClass newArrayType,
NotificationChain msgs)
public void setArrayType(JClass newArrayType)
setArrayType in interface JClassnewArrayType - the new value of the 'Array Type' containment reference.JClass.getArrayType()public JCompilationUnit getUnit()
getUnit in interface JClassJClass.setUnit(JCompilationUnit),
JavaPackage.getJClass_Unit(),
JCompilationUnit.getTypes()
public NotificationChain basicSetUnit(JCompilationUnit newUnit,
NotificationChain msgs)
public void setUnit(JCompilationUnit newUnit)
setUnit in interface JClassnewUnit - the new value of the 'Unit' container reference.JClass.getUnit()public EList<JMethod> getAllMethods()
getAllMethods in interface JClassJavaPackage.getJClass_AllMethods()public EList<JField> getAllFields()
getAllFields in interface JClassJavaPackage.getJClass_AllFields()public JPackage getPackage()
getPackage in interface JClassJClass.setPackage(JPackage),
JavaPackage.getJClass_Package(),
JPackage.getTypes()public JPackage basicGetPackage()
public NotificationChain basicSetPackage(JPackage newPackage,
NotificationChain msgs)
public void setPackage(JPackage newPackage)
setPackage in interface JClassnewPackage - the new value of the 'Package' reference.JClass.getPackage()public EList<JClass> getTypes()
getTypes in interface JClassJavaPackage.getJClass_Types()public EList<JClass> getAllTypes()
getAllTypes in interface JClassJavaPackage.getJClass_AllTypes()
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class JMemberImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class JMemberImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature in class JMemberImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class JMemberImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class JMemberImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class JMemberImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class JMemberImplEObject.eIsSet(EStructuralFeature)public java.lang.String toString()
toString in class JMemberImplprotected void changeAttribute(Notification notification)
changeAttribute in class JModelElementImplprotected void resolveIdentifiers()
resolveIdentifiers in class JModelElementImplpublic JClass resolveJClass(java.lang.String fullName)
resolveJClass in interface JClasspublic EObject eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
InternalEObject
The fragment segment encoding will typically be of the form returned by eURIFragmentSegment.
eObjectForURIFragmentSegment in interface InternalEObjecteObjectForURIFragmentSegment in class BasicEObjectImpluriFragmentSegment - a fragment segment.
public java.lang.String getQualifiedName()
getQualifiedName in interface JModelElementgetQualifiedName in class JModelElementImpl
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||