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, isAssignableFrom
appendCast, appendCastTerm, appendEcoreStatements, appendEcoreValue, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getEClassifier, getElementId, getPrimitiveDescriptor, isAssignableTo, isPrimitive, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendCast, appendCastTerm, appendEcoreStatements, appendEcoreValue, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getEClassifier, getPrimitiveDescriptor, isAssignableTo, isPrimitive
public IntegerObjectDescriptor(ElementId elementId)
public Boolean appendBox(JavaStream js, JavaLocalContext<?> localContext, CGBoxExp cgBoxExp, CGValuedElement unboxedValue)
TypeDescriptor
appendBox
in interface TypeDescriptor
appendBox
in class AbstractDescriptor
public Boolean appendEcore(JavaStream js, JavaLocalContext<?> localContext, CGEcoreExp cgEcoreExp, CGValuedElement unboxedValue)
TypeDescriptor
appendEcore
in interface TypeDescriptor
appendEcore
in class AbstractDescriptor
public EcoreDescriptor getEcoreDescriptor(CodeGenerator codeGenerator, Class<?> instanceClass)
TypeDescriptor
getEcoreDescriptor
in interface TypeDescriptor
getEcoreDescriptor
in class RootObjectDescriptor
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.