|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.codegen.java.types.AbstractDescriptor
org.eclipse.ocl.examples.codegen.java.types.AbstractValueDescriptor
org.eclipse.ocl.examples.codegen.java.types.BoxedValueDescriptor
org.eclipse.ocl.examples.codegen.java.types.EnumerationValueDescriptor
public class EnumerationValueDescriptor
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.ocl.examples.codegen.java.types.AbstractDescriptor |
|---|
AbstractDescriptor.NamedFuture |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.ocl.examples.codegen.java.types.BoxedValueDescriptor |
|---|
unboxedDescriptor |
| Fields inherited from class org.eclipse.ocl.examples.codegen.java.types.AbstractValueDescriptor |
|---|
javaClass |
| Fields inherited from class org.eclipse.ocl.examples.codegen.java.types.AbstractDescriptor |
|---|
elementId |
| Constructor Summary | |
|---|---|
EnumerationValueDescriptor(ElementId elementId)
|
|
| Method Summary | |
|---|---|
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. |
java.lang.Boolean |
appendUnboxStatements(JavaStream js,
JavaLocalContext localContext,
CGUnboxExp cgUnboxExp,
CGValuedElement boxedValue)
|
| Methods inherited from class org.eclipse.ocl.examples.codegen.java.types.BoxedValueDescriptor |
|---|
getUnboxedDescriptor, isAssignableFrom |
| Methods inherited from class org.eclipse.ocl.examples.codegen.java.types.AbstractValueDescriptor |
|---|
append, getClassName, getJavaClass, hasJavaClass, isAssignableTo, toString |
| Methods inherited from class org.eclipse.ocl.examples.codegen.java.types.AbstractDescriptor |
|---|
appendBox, appendCast, appendCastTerm, appendNotEqualsTerm, asCollectionDescriptor, getEClassifier, getElementId, getPrimitiveDescriptor, reClass, zzisBoxedType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.ocl.examples.codegen.generator.TypeDescriptor |
|---|
append, appendBox, appendCast, appendCastTerm, appendNotEqualsTerm, asCollectionDescriptor, getClassName, getEClassifier, getJavaClass, getPrimitiveDescriptor, hasJavaClass, isAssignableTo |
| Constructor Detail |
|---|
public EnumerationValueDescriptor(@NonNull
ElementId elementId)
| Method Detail |
|---|
public void appendEqualsValue(@NonNull
JavaStream js,
@NonNull
CGValuedElement thisValue,
@NonNull
CGValuedElement thatValue,
boolean notEquals)
TypeDescriptor
appendEqualsValue in interface TypeDescriptorappendEqualsValue in class AbstractDescriptor
@NonNull
public java.lang.Boolean appendUnboxStatements(@NonNull
JavaStream js,
@NonNull
JavaLocalContext localContext,
@NonNull
CGUnboxExp cgUnboxExp,
@NonNull
CGValuedElement boxedValue)
appendUnboxStatements in interface TypeDescriptorappendUnboxStatements in class AbstractDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||