public class FutureEObjectDescriptor extends AbstractDescriptor implements SimpleDescriptor
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 |
---|
FutureEObjectDescriptor(ElementId elementId,
EClassifier eClassifier,
String className) |
Modifier and Type | Method and Description |
---|---|
void |
append(JavaStream js,
Boolean isRequired)
Append the declaration of this type to a JavaStream.
|
String |
getClassName()
Return the fully qualified Java class name described by this type.
|
EClassifier |
getEClassifier()
Return the Ecore EClassifier described by this type.
|
EcoreDescriptor |
getEcoreDescriptor(CodeGenerator codeGenerator,
Class<?> instanceClass)
Return the type descriptor for use when an Ecore type would be appropriate.
|
Class<?> |
getJavaClass()
Return the basic Java class for this descriptor.
|
UnboxedDescriptor |
getUnboxedDescriptor(CodeGenerator codeGenerator)
Return the type descriptor for use when an unboxed type would be appropriate.
|
Class<?> |
hasJavaClass()
Return the basic Java class for this descriptor.
|
boolean |
isAssignableFrom(TypeDescriptor typeDescriptor)
Return true if an instance described by typeDescriptor may be assigned to an instance described by this.
|
appendBox, appendCast, appendCastTerm, appendEcore, appendEcoreStatements, appendEcoreValue, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getElementId, getPrimitiveDescriptor, isAssignableTo, isPrimitive, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendBox, appendCast, appendCastTerm, appendEcore, appendEcoreStatements, appendEcoreValue, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getPrimitiveDescriptor, isAssignableTo, isPrimitive
public void append(JavaStream js, Boolean isRequired)
TypeDescriptor
append
in interface TypeDescriptor
public String getClassName()
TypeDescriptor
getClassName
in interface TypeDescriptor
public EClassifier getEClassifier()
TypeDescriptor
getEClassifier
in interface TypeDescriptor
getEClassifier
in class AbstractDescriptor
public EcoreDescriptor getEcoreDescriptor(CodeGenerator codeGenerator, Class<?> instanceClass)
TypeDescriptor
getEcoreDescriptor
in interface TypeDescriptor
public Class<?> getJavaClass()
TypeDescriptor
getJavaClass
in interface TypeDescriptor
public UnboxedDescriptor getUnboxedDescriptor(CodeGenerator codeGenerator)
TypeDescriptor
getUnboxedDescriptor
in interface TypeDescriptor
public Class<?> hasJavaClass()
TypeDescriptor
hasJavaClass
in interface TypeDescriptor
public final boolean isAssignableFrom(TypeDescriptor typeDescriptor)
TypeDescriptor
isAssignableFrom
in interface TypeDescriptor
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.