org.eclipse.xtend.backend.types.emf.internal
Class EClassType

java.lang.Object
  extended by org.eclipse.xtend.backend.types.AbstractType
      extended by org.eclipse.xtend.backend.types.emf.internal.EClassType
All Implemented Interfaces:
BackendType

public final class EClassType
extends AbstractType

Author:
Arno Haase (http://www.haase-consulting.com), André Arnold

Constructor Summary
EClassType(org.eclipse.emf.ecore.EClass cls, EmfTypesystem ts)
           
 
Method Summary
 java.lang.Object create()
           
 boolean equals(java.lang.Object obj)
          every type *must* implement a valid equals method, otherwise the backend will break!
 int hashCode()
           
 void init(EmfTypesystem ts)
          This method is separated from the constructor to avoid endless recursion if a type has properties and/or operations that reference itself
 
Methods inherited from class org.eclipse.xtend.backend.types.AbstractType
getBuiltinOperations, getName, getProperties, getProperty, getStaticProperties, getSuperTypes, getUniqueRepresentation, isAssignableFrom, register, register, register, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EClassType

public EClassType(org.eclipse.emf.ecore.EClass cls,
                  EmfTypesystem ts)
Method Detail

init

public void init(EmfTypesystem ts)
This method is separated from the constructor to avoid endless recursion if a type has properties and/or operations that reference itself


create

public java.lang.Object create()
Specified by:
create in interface BackendType
Overrides:
create in class AbstractType

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Description copied from class: AbstractType
every type *must* implement a valid equals method, otherwise the backend will break!

Specified by:
equals in class AbstractType