public class JFieldImpl extends JMemberImpl implements JField
The following features are implemented:
Modifier and Type | Class and Description |
---|---|
protected static class |
JFieldImpl.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 |
final_
The cached value of the '
Final ' attribute |
protected static boolean |
FINAL_EDEFAULT
The default value of the '
Final ' attribute |
protected java.lang.String |
initializer
The cached value of the '
Initializer ' attribute |
protected static java.lang.String |
INITIALIZER_EDEFAULT
The default value of the '
Initializer ' attribute |
protected static java.lang.reflect.Field |
JAVA_FIELD_EDEFAULT
The default value of the '
Java Field ' attribute |
protected java.lang.reflect.Field |
javaField
The cached value of the '
Java Field ' attribute |
protected boolean |
transient_
The cached value of the '
Transient ' attribute |
protected static boolean |
TRANSIENT_EDEFAULT
The default value of the '
Transient ' attribute |
protected JClass |
type
The cached value of the '
Type ' reference |
protected boolean |
volatile_
The cached value of the '
Volatile ' attribute |
protected static boolean |
VOLATILE_EDEFAULT
The default value of the '
Volatile ' attribute |
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 |
JFieldImpl() |
Modifier and Type | Method and Description |
---|---|
JClass |
basicGetType() |
protected void |
changeAttribute(Notification notification) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.lang.String |
getInitializer() |
java.lang.reflect.Field |
getJavaField() |
JClass |
getType() |
boolean |
isFinal() |
boolean |
isTransient() |
boolean |
isVolatile() |
protected void |
resolveIdentifiers() |
void |
setFinal(boolean newFinal) |
void |
setInitializer(java.lang.String newInitializer) |
void |
setJavaField(java.lang.reflect.Field newJavaField) |
void |
setTransient(boolean newTransient) |
void |
setType(JClass newType) |
void |
setVolatile(boolean newVolatile) |
java.lang.String |
toString() |
basicSetContainingType, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility
adoptContent, changeReference, eNotificationRequired, eNotify, getJNode, getName, getQualifiedName, 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, 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
eBasicAdapterArray, eBasicHasAdapters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility
getJNode, getName, getQualifiedName, 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 FINAL_EDEFAULT
Final
' attribute.
isFinal()
,
Constant Field Valuesprotected boolean final_
Final
' attribute.
isFinal()
protected static final boolean TRANSIENT_EDEFAULT
Transient
' attribute.
isTransient()
,
Constant Field Valuesprotected boolean transient_
Transient
' attribute.
isTransient()
protected static final boolean VOLATILE_EDEFAULT
Volatile
' attribute.
isVolatile()
,
Constant Field Valuesprotected boolean volatile_
Volatile
' attribute.
isVolatile()
protected static final java.lang.reflect.Field JAVA_FIELD_EDEFAULT
Java Field
' attribute.
getJavaField()
protected java.lang.reflect.Field javaField
Java Field
' attribute.
getJavaField()
protected static final java.lang.String INITIALIZER_EDEFAULT
Initializer
' attribute.
getInitializer()
protected java.lang.String initializer
Initializer
' attribute.
getInitializer()
protected EClass eStaticClass()
eStaticClass
in class JMemberImpl
public boolean isFinal()
isFinal
in interface JField
JField.setFinal(boolean)
,
JavaPackage.getJField_Final()
public void setFinal(boolean newFinal)
setFinal
in interface JField
newFinal
- the new value of the 'Final' attribute.JField.isFinal()
public boolean isTransient()
isTransient
in interface JField
JField.setTransient(boolean)
,
JavaPackage.getJField_Transient()
public void setTransient(boolean newTransient)
setTransient
in interface JField
newTransient
- the new value of the 'Transient' attribute.JField.isTransient()
public boolean isVolatile()
isVolatile
in interface JField
JField.setVolatile(boolean)
,
JavaPackage.getJField_Volatile()
public void setVolatile(boolean newVolatile)
setVolatile
in interface JField
newVolatile
- the new value of the 'Volatile' attribute.JField.isVolatile()
public java.lang.reflect.Field getJavaField()
getJavaField
in interface JField
JField.setJavaField(Field)
,
JavaPackage.getJField_JavaField()
public void setJavaField(java.lang.reflect.Field newJavaField)
setJavaField
in interface JField
newJavaField
- the new value of the 'Java Field' attribute.JField.getJavaField()
public java.lang.String getInitializer()
getInitializer
in interface JField
JField.setInitializer(String)
,
JavaPackage.getJField_Initializer()
public void setInitializer(java.lang.String newInitializer)
setInitializer
in interface JField
newInitializer
- the new value of the 'Initializer' attribute.JField.getInitializer()
public JClass getType()
getType
in interface JField
JField.setType(JClass)
,
JavaPackage.getJField_Type()
public JClass basicGetType()
public void setType(JClass newType)
setType
in interface JField
newType
- the new value of the 'Type' reference.JField.getType()
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