public class JClassImpl extends JMemberImpl implements JClass
The following features are implemented:
Modifier and Type | Class and Description |
---|---|
protected static class |
JClassImpl.JHelper |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and 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<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 |
comment, COMMENT_EDEFAULT, static_, STATIC_EDEFAULT, visibility, VISIBILITY_EDEFAULT
isReconciling, jNode, JNODE_EDEFAULT, name, NAME_EDEFAULT
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
JClassImpl() |
basicSetContainingType, getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility
adoptContent, changeReference, eNotificationRequired, eNotify, getJNode, getName, moveContent, orphanContent, setJNode, setJNodeGen, setName
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
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
eBasicAdapterArray, eBasicHasAdapters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility
getJNode, getName, setJNode, setName
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
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 EClass eStaticClass()
eStaticClass
in class JMemberImpl
public boolean isAbstract()
isAbstract
in interface JClass
JClass.setAbstract(boolean)
,
JavaPackage.getJClass_Abstract()
public void setAbstract(boolean newAbstract)
setAbstract
in interface JClass
newAbstract
- the new value of the 'Abstract' attribute.JClass.isAbstract()
public boolean isFinal()
isFinal
in interface JClass
JClass.setFinal(boolean)
,
JavaPackage.getJClass_Final()
public void setFinal(boolean newFinal)
setFinal
in interface JClass
newFinal
- the new value of the 'Final' attribute.JClass.isFinal()
public boolean isInterface()
isInterface
in interface JClass
JClass.setInterface(boolean)
,
JavaPackage.getJClass_Interface()
public void setInterface(boolean newInterface)
setInterface
in interface JClass
newInterface
- the new value of the 'Interface' attribute.JClass.isInterface()
public boolean isThrowable()
isThrowable
in interface JClass
JClass.setThrowable(boolean)
,
JavaPackage.getJClass_Throwable()
public void setThrowable(boolean newThrowable)
setThrowable
in interface JClass
newThrowable
- the new value of the 'Throwable' attribute.JClass.isThrowable()
public java.lang.Class<?> getJavaClass()
getJavaClass
in interface JClass
JClass.setJavaClass(Class)
,
JavaPackage.getJClass_JavaClass()
public void setJavaClass(java.lang.Class<?> newJavaClass)
setJavaClass
in interface JClass
newJavaClass
- the new value of the 'Java Class' attribute.JClass.getJavaClass()
public EList<JField> getFields()
getFields
in interface JClass
JavaPackage.getJClass_Fields()
public EList<JMethod> getMethods()
getMethods
in interface JClass
JavaPackage.getJClass_Methods()
public EList<JClass> getSuperTypes()
getSuperTypes
in interface JClass
JavaPackage.getJClass_SuperTypes()
public EList<JClass> getAllSuperTypes()
getAllSuperTypes
in interface JClass
JavaPackage.getJClass_AllSuperTypes()
protected <T> void collectAll(EStructuralFeature eStructuralFeature, EList<T> target)
public EList<JMember> getMembers()
getMembers
in interface JClass
JavaPackage.getJClass_Members()
,
JMember.getContainingType()
public JClass getComponentType()
getComponentType
in interface JClass
JClass.setComponentType(JClass)
,
JavaPackage.getJClass_ComponentType()
,
JClass.getArrayType()
public NotificationChain basicSetComponentType(JClass newComponentType, NotificationChain msgs)
public void setComponentType(JClass newComponentType)
setComponentType
in interface JClass
newComponentType
- the new value of the 'Component Type' container reference.JClass.getComponentType()
public JClass getArrayType()
getArrayType
in interface JClass
JClass.setArrayType(JClass)
,
JavaPackage.getJClass_ArrayType()
,
JClass.getComponentType()
public NotificationChain basicSetArrayType(JClass newArrayType, NotificationChain msgs)
public void setArrayType(JClass newArrayType)
setArrayType
in interface JClass
newArrayType
- the new value of the 'Array Type' containment reference.JClass.getArrayType()
public JCompilationUnit getUnit()
getUnit
in interface JClass
JClass.setUnit(JCompilationUnit)
,
JavaPackage.getJClass_Unit()
,
JCompilationUnit.getTypes()
public NotificationChain basicSetUnit(JCompilationUnit newUnit, NotificationChain msgs)
public void setUnit(JCompilationUnit newUnit)
setUnit
in interface JClass
newUnit
- the new value of the 'Unit' container reference.JClass.getUnit()
public EList<JMethod> getAllMethods()
getAllMethods
in interface JClass
JavaPackage.getJClass_AllMethods()
public EList<JField> getAllFields()
getAllFields
in interface JClass
JavaPackage.getJClass_AllFields()
public JPackage getPackage()
getPackage
in interface JClass
JClass.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 JClass
newPackage
- the new value of the 'Package' reference.JClass.getPackage()
public EList<JClass> getTypes()
getTypes
in interface JClass
JavaPackage.getJClass_Types()
public EList<JClass> getAllTypes()
getAllTypes
in interface JClass
JavaPackage.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 JMemberImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class JMemberImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class JMemberImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class JMemberImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class JMemberImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class JMemberImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class JMemberImpl
protected void changeAttribute(Notification notification)
changeAttribute
in class JModelElementImpl
protected void resolveIdentifiers()
resolveIdentifiers
in class JModelElementImpl
public JClass resolveJClass(java.lang.String fullName)
resolveJClass
in interface JClass
public EObject eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
InternalEObject
The fragment segment encoding will typically be of the form returned by eURIFragmentSegment
.
eObjectForURIFragmentSegment
in interface InternalEObject
eObjectForURIFragmentSegment
in class BasicEObjectImpl
uriFragmentSegment
- a fragment segment.public java.lang.String getQualifiedName()
getQualifiedName
in interface JModelElement
getQualifiedName
in class JModelElementImpl