org.eclipse.ocl.examples.codegen.java.types
Class UnboxedDynamicEObjectsDescriptor
java.lang.Object
org.eclipse.ocl.examples.codegen.java.types.AbstractDescriptor
org.eclipse.ocl.examples.codegen.java.types.AbstractValueDescriptor
org.eclipse.ocl.examples.codegen.java.types.UnboxedDynamicEObjectsDescriptor
- All Implemented Interfaces:
- TypeDescriptor, UnboxedDescriptor
public class UnboxedDynamicEObjectsDescriptor
- extends AbstractValueDescriptor
- implements UnboxedDescriptor
Field Summary |
protected org.eclipse.emf.ecore.EClass |
eClass
|
Method Summary |
void |
append(JavaStream javaStream)
Append the declaration of this type to a JavaStream. |
boolean |
isAssignableFrom(TypeDescriptor typeDescriptor)
Return true if an instance described by typeDescriptor may be assigned to an instance described by this. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
eClass
@NonNull
protected final org.eclipse.emf.ecore.EClass eClass
UnboxedDynamicEObjectsDescriptor
public UnboxedDynamicEObjectsDescriptor(@NonNull
CollectionTypeId elementId,
@NonNull
org.eclipse.emf.ecore.EClass eClass)
append
public void append(@NonNull
JavaStream javaStream)
- Description copied from interface:
TypeDescriptor
- Append the declaration of this type to a JavaStream.
- Specified by:
append
in interface TypeDescriptor
- Overrides:
append
in class AbstractValueDescriptor
isAssignableFrom
public final boolean isAssignableFrom(@NonNull
TypeDescriptor typeDescriptor)
- Description copied from interface:
TypeDescriptor
- Return true if an instance described by typeDescriptor may be assigned to an instance described by this.
- Specified by:
isAssignableFrom
in interface TypeDescriptor
toString
@NonNull
public java.lang.String toString()
- Overrides:
toString
in class AbstractValueDescriptor