public class IntegerObjectDescriptor extends RootObjectDescriptor
| Constructor and Description |
|---|
IntegerObjectDescriptor(ElementId elementId) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
appendBox(JavaStream js,
JavaLocalContext<?> localContext,
CGBoxExp cgBoxExp,
CGValuedElement unboxedValue)
Append the appropriate statements to js to create the boxed value for cgBboxExp from its unboxedValue.
|
Boolean |
appendEcore(JavaStream js,
JavaLocalContext<?> localContext,
CGEcoreExp cgEcoreExp,
CGValuedElement unboxedValue)
Append a conversion to an Ecore value.
|
EcoreDescriptor |
getEcoreDescriptor(CodeGenerator codeGenerator,
Class<?> instanceClass)
Return the type descriptor for use when an Ecore type would be appropriate.
|
append, getClassName, getJavaClass, getUnboxedDescriptor, hasJavaClass, isAssignableFromappendCast, appendCastTerm, appendEcoreStatements, appendEcoreValue, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getEClassifier, getElementId, getPrimitiveDescriptor, isAssignableTo, isPrimitive, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitappendCast, appendCastTerm, appendEcoreStatements, appendEcoreValue, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getEClassifier, getPrimitiveDescriptor, isAssignableTo, isPrimitivepublic IntegerObjectDescriptor(ElementId elementId)
public Boolean appendBox(JavaStream js, JavaLocalContext<?> localContext, CGBoxExp cgBoxExp, CGValuedElement unboxedValue)
TypeDescriptorappendBox in interface TypeDescriptorappendBox in class AbstractDescriptorpublic Boolean appendEcore(JavaStream js, JavaLocalContext<?> localContext, CGEcoreExp cgEcoreExp, CGValuedElement unboxedValue)
TypeDescriptorappendEcore in interface TypeDescriptorappendEcore in class AbstractDescriptorpublic EcoreDescriptor getEcoreDescriptor(CodeGenerator codeGenerator, Class<?> instanceClass)
TypeDescriptorgetEcoreDescriptor in interface TypeDescriptorgetEcoreDescriptor in class RootObjectDescriptorCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.