Package | Description |
---|---|
org.eclipse.ocl.examples.codegen.generator | |
org.eclipse.ocl.examples.codegen.java | |
org.eclipse.ocl.examples.codegen.java.types |
Modifier and Type | Method and Description |
---|---|
TypeDescriptor |
TypeDescriptor.getPrimitiveDescriptor()
Return the type descriptor for use when a primitive type would be appropriate.
|
TypeDescriptor |
CodeGenerator.getTypeDescriptor(CGValuedElement cgElement) |
Modifier and Type | Method and Description |
---|---|
void |
TypeDescriptor.appendNotEqualsTerm(JavaStream js,
CGValuedElement thisValue,
TypeDescriptor thatTypeDescriptor,
java.lang.String thatName)
Append an expression term that evaluates whether (this TypedDescriptor and) thisValue is not equal to thatTypeDescriptor and thatName.
|
boolean |
TypeDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor)
Return true if an instance described by typeDescriptor may be assigned to an instance described by this.
|
Modifier and Type | Method and Description |
---|---|
TypeDescriptor |
JavaCodeGenerator.getTypeDescriptor(CGValuedElement cgElement) |
Modifier and Type | Method and Description |
---|---|
void |
JavaStream.appendAtomicReferenceTo(TypeDescriptor requiredTypeDescriptor,
CGValuedElement cgValue) |
void |
JavaStream.appendClassReference(java.lang.Boolean isRequired,
java.lang.Class<?> javaClass,
boolean useExtends,
TypeDescriptor... typeDescriptors) |
void |
JavaStream.appendClassReference(java.lang.Boolean isRequired,
TypeDescriptor typeDescriptor) |
void |
JavaStream.appendClassReference(java.lang.Class<?> javaClass,
boolean useExtends,
TypeDescriptor... typeDescriptors)
Deprecated.
Provide isRequired argument.
|
void |
JavaStream.appendClassReference(TypeDescriptor typeDescriptor)
deprecated Provide isRequired argument.
|
void |
JavaStream.appendReferenceTo(TypeDescriptor requiredTypeDescriptor,
CGValuedElement cgValue) |
Modifier and Type | Interface and Description |
---|---|
interface |
BoxedDescriptor
A BoxedDescriptor defines the description of a type that may be used where a boxed representation is required.
|
interface |
CollectionDescriptor
A CollectionDescriptor defines the description of a type for a collection of objects.
|
interface |
EcoreDescriptor
An EcoreDescriptor defines the description of a type that may be used where an Ecore representation is required.
|
interface |
MapDescriptor
A MapDescriptor defines the description of a type for a map of objects.
|
interface |
SimpleDescriptor
A SimpleDescriptor defines the description of a type that may be used where either a boxed or unboxed representation is required.
|
interface |
UnboxedDescriptor
A UnboxedDescriptor defines the description of a type that may be used where a native representation is required.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCollectionDescriptor
An AbstractCollectionDescriptor extends an AbstractDescriptor to describe a collection type.
|
class |
AbstractDescriptor
An AbstractDescriptor provides the most fundamental capabilities of any type description: the correspondence to a pivot ElementId.
|
class |
AbstractPrimitiveDescriptor
An AbstractPrimitiveObjectDescriptor describes a built-in type and any associated irregular code generation patterns.
|
class |
AbstractValueDescriptor
An AbstractValueDescriptor extends an AbstractDescriptor to describe a type for which a Java Class as well as a pivot ElementId is available.
|
class |
BooleanObjectDescriptor
A BooleanObjectDescriptor describes the Boolean type and any associated irregular code generation patterns.
|
class |
BooleanPrimitiveDescriptor
A BooleanPrimitiveDescriptor describes the boolean type and any associated irregular code generation patterns.
|
class |
BoxedMapDescriptor
A BoxedValueDescriptor describes a type whose boxed representation differs from its unboxed representation.
|
class |
BoxedValueDescriptor
A BoxedValueDescriptor describes a type whose boxed representation differs from its unboxed representation.
|
class |
BoxedValuesDescriptor
A BoxedValueDescriptor describes a type whose boxed representation differs from its unboxed representation.
|
class |
DoublePrimitiveDescriptor
A DoublePrimitiveDescriptor describes the double type and any associated irregular code generation patterns.
|
class |
EcoreDoubleObjectDescriptor
An EcoreDoubleObjectDescriptor describes the EDoubleObject type and any associated irregular code generation patterns.
|
class |
EcoreIntegerObjectDescriptor
An EcoreIntegerObjectDescriptor describes the EIntegerObject type and any associated irregular code generation patterns.
|
class |
EcoreListDescriptor
An EcoreListDescriptor describes a collection type represented as an Ecore List.
|
class |
EnumerationObjectDescriptor
An EnumerationObjectDescriptor the unboxed representation of an Enumeration.
|
class |
EnumerationValueDescriptor
EnumerationValueDescriptor describes the boxed representation of the instances of an Enumeration, these are EnumerationLiteraIds.
|
class |
EObjectDescriptor
An EObjectDescriptor describes a type gor an (unboxed) EObjecte.
|
class |
EObjectsDescriptor
An EObjectsDescriptor describes a type for a collection of (unboxed) EObject representations.
|
class |
FutureEnumerationObjectDescriptor
An EnumerationObjectDescriptor the unboxed representation of an Enumeration.
|
class |
FutureEnumerationValueDescriptor
A FutureEnumerationValueDescriptor describes a yet-to-be-created Ecore enumeration type.
|
class |
FutureEObjectDescriptor
A FutureEObjectDescriptor describes a yet-to-be-created type whose boxed and unboxed representations are the same.
|
class |
FutureEObjectsDescriptor
A FutureEObjectsDescriptor describes a yet-to-be-created collection type.
|
class |
IntegerObjectDescriptor
An IntegerObjectDescriptor describes the unboxed representations of an OCL Integer.
|
class |
IntegerValueDescriptor
An IntegerValueDescriptor describes the boxed unbounded polymorphic representation of an OCL Integer.
|
class |
IntPrimitiveDescriptor
A IntPrimitiveDescriptor describes the int type and any associated irregular code generation patterns.
|
class |
PrimitiveValueDescriptor
A PrimitiveValueDescriptor describes primitive value that has one type when boxed and another as Ecore.
|
class |
RealObjectDescriptor
n RealObjectDescriptor describes the unboxed representations of an OCL Real.
|
class |
RealValueDescriptor
A RealValueDescriptor describes the boxed unbounded polymorphic representation of an OCL Real.
|
class |
RootObjectDescriptor
A RootObjectDescriptor describes the java.lang.Object type when that is precisely the type in use, as opposed to the usage of Object as the pragmatic
usage when a Java class cannot be determined.
|
class |
SimpleDataTypeDescriptor
A SimpleDataTypeDescriptor describes a data type whose boxed and unboxed representations are the same.
|
class |
SimpleValueDescriptor
A SimpleValueDescriptor describes a type whose boxed and unboxed representations are the same.
|
class |
UnboxedElementsDescriptor
A UnboxedElementsDescriptor describes a collection type for which no Java class may ever exist.
|
class |
UnboxedMapDescriptor
A UnboxedElementsDescriptor describes a collection type for which no Java class may eveer exist.
|
class |
UnboxedValueDescriptor
An UnboxedValueDescriptor describes a type whose unboxed representation differs from its boxed representation.
|
class |
UnlimitedNaturalObjectDescriptor
An UnlimitedNaturalObjectDescriptor describes the unboxed representations of an OCL UnlimitedNatural.
|
class |
UnlimitedNaturalValueDescriptor
An UnlimitedNaturalValueDescriptor describes the boxed unbounded polymorphic representation of an OCL UnlimitedNatural.
|
Modifier and Type | Method and Description |
---|---|
TypeDescriptor |
AbstractDescriptor.getPrimitiveDescriptor() |
TypeDescriptor |
BooleanObjectDescriptor.getPrimitiveDescriptor() |
TypeDescriptor |
EcoreDoubleObjectDescriptor.getPrimitiveDescriptor() |
TypeDescriptor |
EcoreIntegerObjectDescriptor.getPrimitiveDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDescriptor.appendNotEqualsTerm(JavaStream js,
CGValuedElement thisValue,
TypeDescriptor thatTypeDescriptor,
java.lang.String thatName) |
void |
AbstractPrimitiveDescriptor.appendNotEqualsTerm(JavaStream js,
CGValuedElement thisValue,
TypeDescriptor thatTypeDescriptor,
java.lang.String thatName) |
void |
BooleanObjectDescriptor.appendNotEqualsTerm(JavaStream js,
CGValuedElement thisValue,
TypeDescriptor thatTypeDescriptor,
java.lang.String thatName) |
void |
EcoreDoubleObjectDescriptor.appendNotEqualsTerm(JavaStream js,
CGValuedElement thisValue,
TypeDescriptor thatTypeDescriptor,
java.lang.String thatName) |
void |
EcoreIntegerObjectDescriptor.appendNotEqualsTerm(JavaStream js,
CGValuedElement thisValue,
TypeDescriptor thatTypeDescriptor,
java.lang.String thatName) |
boolean |
BoxedMapDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
BoxedValueDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
BoxedValuesDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
EObjectsDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
EcoreListDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
FutureEObjectDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
FutureEObjectsDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
RootObjectDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
SimpleDataTypeDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
SimpleValueDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
UnboxedElementsDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
UnboxedMapDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |
boolean |
UnboxedValueDescriptor.isAssignableFrom(TypeDescriptor typeDescriptor) |