public class JvmFieldImpl extends JvmFeatureImpl implements JvmField
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
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
Modifier and Type | Field and Description |
---|---|
protected boolean |
constant
The cached value of the '
Constant ' attribute |
protected static boolean |
CONSTANT_EDEFAULT
The default value of the '
Constant ' attribute |
protected static java.lang.Object |
CONSTANT_VALUE_EDEFAULT
The default value of the '
Constant Value ' attribute |
protected boolean |
constantESet
This is true if the Constant attribute has been set
|
protected java.lang.Object |
constantValue
The cached value of the '
Constant Value ' attribute |
protected boolean |
final_
The cached value of the '
Final ' attribute |
protected static boolean |
FINAL_EDEFAULT
The default value of the '
Final ' attribute |
protected boolean |
static_
The cached value of the '
Static ' attribute |
protected static boolean |
STATIC_EDEFAULT
The default value of the '
Static ' attribute |
protected boolean |
transient_
The cached value of the '
Transient ' attribute |
protected static boolean |
TRANSIENT_EDEFAULT
The default value of the '
Transient ' attribute |
protected JvmTypeReference |
type
The cached value of the '
Type ' containment reference |
protected boolean |
volatile_
The cached value of the '
Volatile ' attribute |
protected static boolean |
VOLATILE_EDEFAULT
The default value of the '
Volatile ' attribute |
localClasses
deprecated, DEPRECATED_EDEFAULT, deprecatedESet, identifier, IDENTIFIER_EDEFAULT, SIMPLE_NAME_EDEFAULT, simpleName, visibility, VISIBILITY_EDEFAULT
annotations
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
JvmFieldImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetType(JvmTypeReference newType,
org.eclipse.emf.common.notify.NotificationChain msgs) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
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) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.lang.Object |
getConstantValue() |
boolean |
getConstantValueAsBoolean() |
byte |
getConstantValueAsByte() |
char |
getConstantValueAsChar() |
double |
getConstantValueAsDouble() |
float |
getConstantValueAsFloat() |
int |
getConstantValueAsInt() |
long |
getConstantValueAsLong() |
short |
getConstantValueAsShort() |
java.lang.String |
getConstantValueAsString() |
JvmTypeReference |
getType() |
boolean |
isConstant() |
boolean |
isFinal() |
boolean |
isSetConstant() |
boolean |
isStatic() |
boolean |
isTransient() |
boolean |
isVolatile() |
void |
setConstant(boolean newConstant) |
void |
setConstantValue(java.lang.Object newConstantValue) |
void |
setFinal(boolean newFinal) |
void |
setStatic(boolean newStatic) |
void |
setTransient(boolean newTransient) |
void |
setType(JvmTypeReference newType) |
void |
setVolatile(boolean newVolatile) |
java.lang.String |
toString() |
void |
unsetConstant() |
getLocalClasses
clearIdentifierCache, computeIdentifier, getIdentifier, getQualifiedName, internalSetIdentifier
basicSetDeclaringType, eBasicRemoveFromContainerFeature, eInverseAdd, getDeclaringType, getSimpleName, getVisibility, isDeprecated, isSetDeprecated, setDeclaringType, setDeprecated, setSimpleName, setVisibility, unsetDeprecated
getAnnotations
getQualifiedName
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocalClasses
getDeclaringType, getIdentifier, getSimpleName, getVisibility, internalSetIdentifier, isDeprecated, isSetDeprecated, setDeclaringType, setDeprecated, setSimpleName, setVisibility, unsetDeprecated
getAnnotations
getQualifiedName, getQualifiedName
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final boolean STATIC_EDEFAULT
Static
' attribute.
isStatic()
,
Constant Field Valuesprotected boolean static_
Static
' attribute.
isStatic()
protected static final boolean FINAL_EDEFAULT
Final
' attribute.
isFinal()
,
Constant Field Valuesprotected boolean final_
Final
' attribute.
isFinal()
protected JvmTypeReference type
Type
' containment reference.
getType()
protected static final boolean VOLATILE_EDEFAULT
Volatile
' attribute.
isVolatile()
,
Constant Field Valuesprotected boolean volatile_
Volatile
' attribute.
isVolatile()
protected static final boolean TRANSIENT_EDEFAULT
Transient
' attribute.
isTransient()
,
Constant Field Valuesprotected boolean transient_
Transient
' attribute.
isTransient()
protected static final boolean CONSTANT_EDEFAULT
Constant
' attribute.
isConstant()
,
Constant Field Valuesprotected boolean constant
Constant
' attribute.
isConstant()
protected boolean constantESet
protected static final java.lang.Object CONSTANT_VALUE_EDEFAULT
Constant Value
' attribute.
getConstantValue()
protected java.lang.Object constantValue
Constant Value
' attribute.
getConstantValue()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class JvmFeatureImpl
public boolean isStatic()
isStatic
in interface JvmFeature
isStatic
in interface JvmField
isStatic
in class JvmFeatureImpl
JvmField.setStatic(boolean)
,
TypesPackage.getJvmField_Static()
public void setStatic(boolean newStatic)
setStatic
in interface JvmField
newStatic
- the new value of the 'Static' attribute.JvmField.isStatic()
public boolean isFinal()
isFinal
in interface JvmField
JvmField.setFinal(boolean)
,
TypesPackage.getJvmField_Final()
public void setFinal(boolean newFinal)
setFinal
in interface JvmField
newFinal
- the new value of the 'Final' attribute.JvmField.isFinal()
public JvmTypeReference getType()
getType
in interface JvmField
JvmField.setType(JvmTypeReference)
,
TypesPackage.getJvmField_Type()
public org.eclipse.emf.common.notify.NotificationChain basicSetType(JvmTypeReference newType, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setType(JvmTypeReference newType)
setType
in interface JvmField
newType
- the new value of the 'Type' containment reference.JvmField.getType()
public boolean isVolatile()
isVolatile
in interface JvmField
JvmField.setVolatile(boolean)
,
TypesPackage.getJvmField_Volatile()
public void setVolatile(boolean newVolatile)
setVolatile
in interface JvmField
newVolatile
- the new value of the 'Volatile' attribute.JvmField.isVolatile()
public boolean isTransient()
isTransient
in interface JvmField
JvmField.setTransient(boolean)
,
TypesPackage.getJvmField_Transient()
public void setTransient(boolean newTransient)
setTransient
in interface JvmField
newTransient
- the new value of the 'Transient' attribute.JvmField.isTransient()
public boolean isConstant()
isConstant
in interface JvmField
JvmField.isSetConstant()
,
JvmField.unsetConstant()
,
JvmField.setConstant(boolean)
,
TypesPackage.getJvmField_Constant()
public void setConstant(boolean newConstant)
setConstant
in interface JvmField
newConstant
- the new value of the 'Constant' attribute.JvmField.isSetConstant()
,
JvmField.unsetConstant()
,
JvmField.isConstant()
public void unsetConstant()
unsetConstant
in interface JvmField
JvmField.isSetConstant()
,
JvmField.isConstant()
,
JvmField.setConstant(boolean)
public boolean isSetConstant()
isSetConstant
in interface JvmField
JvmField.unsetConstant()
,
JvmField.isConstant()
,
JvmField.setConstant(boolean)
public java.lang.Object getConstantValue()
getConstantValue
in interface JvmField
JvmField.setConstantValue(Object)
,
TypesPackage.getJvmField_ConstantValue()
public void setConstantValue(java.lang.Object newConstantValue)
setConstantValue
in interface JvmField
newConstantValue
- the new value of the 'Constant Value' attribute.JvmField.getConstantValue()
public long getConstantValueAsLong()
getConstantValueAsLong
in interface JvmField
public int getConstantValueAsInt()
getConstantValueAsInt
in interface JvmField
public short getConstantValueAsShort()
getConstantValueAsShort
in interface JvmField
public byte getConstantValueAsByte()
getConstantValueAsByte
in interface JvmField
public double getConstantValueAsDouble()
getConstantValueAsDouble
in interface JvmField
public float getConstantValueAsFloat()
getConstantValueAsFloat
in interface JvmField
public char getConstantValueAsChar()
getConstantValueAsChar
in interface JvmField
public boolean getConstantValueAsBoolean()
getConstantValueAsBoolean
in interface JvmField
public java.lang.String getConstantValueAsString()
getConstantValueAsString
in interface JvmField
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class JvmFeatureImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class JvmFeatureImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class JvmFeatureImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class JvmFeatureImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class JvmFeatureImpl
public java.lang.String toString()
toString
in class JvmMemberImpl