public class FutureEnumerationValueDescriptor extends BoxedValueDescriptor
The Java class is only known by name; it is not yet loadable, since genmodel has not yet generated it.
There is no EClassifier available to perform type conformance checks since thie Java class name was provided as an instanceClassName.
| Constructor and Description |
|---|
FutureEnumerationValueDescriptor(ElementId elementId,
EClassifier eClassifier,
String className) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
appendEcoreStatements(JavaStream js,
JavaLocalContext<?> localContext,
CGEcoreExp cgEcoreExp,
CGValuedElement boxedValue)
Append the appropriate statements to js to create the ecore value for cgEcoreExp from its boxedValue.
|
void |
appendEqualsValue(JavaStream js,
CGValuedElement thisValue,
CGValuedElement thatValue,
boolean notEquals)
Append an expression term that evaluates whether (this TypedDescriptor and) thisValue is not equals/ notEquals to thatValue.
|
String |
getClassName()
Return the fully qualified Java class name described by this type.
|
EClassifier |
getEClassifier()
Return the Ecore EClassifier described by this type.
|
Class<?> |
getJavaClass()
Return the basic Java class for this descriptor.
|
Class<?> |
hasJavaClass()
Return the basic Java class for this descriptor.
|
getEcoreDescriptor, getUnboxedDescriptor, isAssignableFromappend, isAssignableTo, toStringappendBox, appendCast, appendCastTerm, appendEcore, appendEcoreValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getElementId, getPrimitiveDescriptor, isPrimitiveequals, getClass, hashCode, notify, notifyAll, wait, wait, waitappend, appendBox, appendCast, appendCastTerm, appendEcore, appendEcoreValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getPrimitiveDescriptor, isAssignableTo, isPrimitivepublic Boolean appendEcoreStatements(JavaStream js, JavaLocalContext<?> localContext, CGEcoreExp cgEcoreExp, CGValuedElement boxedValue)
TypeDescriptorappendEcoreStatements in interface TypeDescriptorappendEcoreStatements in class AbstractDescriptorpublic void appendEqualsValue(JavaStream js, CGValuedElement thisValue, CGValuedElement thatValue, boolean notEquals)
TypeDescriptorappendEqualsValue in interface TypeDescriptorappendEqualsValue in class AbstractDescriptorpublic String getClassName()
TypeDescriptorgetClassName in interface TypeDescriptorgetClassName in class AbstractValueDescriptorpublic EClassifier getEClassifier()
TypeDescriptorgetEClassifier in interface TypeDescriptorgetEClassifier in class AbstractDescriptorpublic Class<?> getJavaClass()
TypeDescriptorgetJavaClass in interface TypeDescriptorgetJavaClass in class AbstractValueDescriptorpublic Class<?> hasJavaClass()
TypeDescriptorhasJavaClass in interface TypeDescriptorhasJavaClass in class AbstractValueDescriptorCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.