public class RootObjectDescriptor extends AbstractDescriptor implements SimpleDescriptor
| Constructor and Description |
|---|
RootObjectDescriptor(ElementId elementId) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(JavaStream javaStream,
Boolean isRequired)
Append the declaration of this type to a JavaStream.
|
String |
getClassName()
Return the fully qualified Java class name 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, getEClassifier, getElementId, getPrimitiveDescriptor, isAssignableTo, isPrimitive, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitappendBox, appendCast, appendCastTerm, appendEcore, appendEcoreStatements, appendEcoreValue, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getEClassifier, getPrimitiveDescriptor, isAssignableTo, isPrimitivepublic RootObjectDescriptor(ElementId elementId)
public void append(JavaStream javaStream, Boolean isRequired)
TypeDescriptorappend in interface TypeDescriptorpublic String getClassName()
TypeDescriptorgetClassName in interface TypeDescriptorpublic EcoreDescriptor getEcoreDescriptor(CodeGenerator codeGenerator, Class<?> instanceClass)
TypeDescriptorgetEcoreDescriptor in interface TypeDescriptorpublic Class<?> getJavaClass()
TypeDescriptorgetJavaClass in interface TypeDescriptorpublic UnboxedDescriptor getUnboxedDescriptor(CodeGenerator codeGenerator)
TypeDescriptorgetUnboxedDescriptor in interface TypeDescriptorpublic Class<?> hasJavaClass()
TypeDescriptorhasJavaClass in interface TypeDescriptorpublic boolean isAssignableFrom(TypeDescriptor typeDescriptor)
TypeDescriptorisAssignableFrom in interface TypeDescriptorCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.