org.eclipse.ocl.examples.codegen.java.types
Class UnboxedElementsDescriptor

java.lang.Object
  extended by org.eclipse.ocl.examples.codegen.java.types.AbstractDescriptor
      extended by org.eclipse.ocl.examples.codegen.java.types.AbstractValueDescriptor
          extended by org.eclipse.ocl.examples.codegen.java.types.UnboxedElementsDescriptor
All Implemented Interfaces:
TypeDescriptor, UnboxedDescriptor

public class UnboxedElementsDescriptor
extends AbstractValueDescriptor
implements UnboxedDescriptor


Field Summary
protected  DomainStandardLibrary standardLibrary
           
protected  Type type
           
 
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
UnboxedElementsDescriptor(CollectionTypeId elementId, DomainStandardLibrary standardLibrary, Type type)
           
 
Method Summary
 java.lang.String getClassName()
           
 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 org.eclipse.ocl.examples.codegen.java.types.AbstractValueDescriptor
append, getJavaClass, hasJavaClass, isAssignableTo
 
Methods inherited from class org.eclipse.ocl.examples.codegen.java.types.AbstractDescriptor
getEClassifier, getElementId, reClass
 
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, getEClassifier, getJavaClass, hasJavaClass, isAssignableTo
 

Field Detail

standardLibrary

@NonNull
protected final DomainStandardLibrary standardLibrary

type

@NonNull
protected final Type type
Constructor Detail

UnboxedElementsDescriptor

public UnboxedElementsDescriptor(@NonNull
                                 CollectionTypeId elementId,
                                 @NonNull
                                 DomainStandardLibrary standardLibrary,
                                 @NonNull
                                 Type type)
Method Detail

getClassName

@NonNull
public java.lang.String getClassName()
Specified by:
getClassName in interface TypeDescriptor
Overrides:
getClassName 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