|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.internal.xpand2.type.XpandTypesMetaModel
public class XpandTypesMetaModel
Constructor Summary | |
---|---|
XpandTypesMetaModel(TypeSystem ts)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object arg0)
|
java.util.Set<? extends Type> |
getKnownTypes()
returns all types this metamodel is responsible for |
java.lang.String |
getName()
Returns the name of the metamodel. |
java.util.Set<java.lang.String> |
getNamespaces()
Returns all namespaces provided by this metamodel. |
Type |
getType(java.lang.Object obj)
if this metamodel is responsible for a types which are responsible for the given object, it returns the corresponding type. |
Type |
getTypeForName(java.lang.String typeName)
if this metamodel is responsible for a type with the given name, it returns the corresponding type. |
TypeSystem |
getTypeSystem()
Returns the underlying typesystem. |
int |
hashCode()
|
void |
setTypeSystem(TypeSystem typeSystem)
Sets the underlying typesystem. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XpandTypesMetaModel(TypeSystem ts)
Method Detail |
---|
public TypeSystem getTypeSystem()
MetaModel
getTypeSystem
in interface MetaModel
MetaModel.getTypeSystem()
public void setTypeSystem(TypeSystem typeSystem)
MetaModel
setTypeSystem
in interface MetaModel
typeSystem
- the typesystemMetaModel.setTypeSystem(org.eclipse.xtend.expression.TypeSystem)
public Type getTypeForName(java.lang.String typeName)
MetaModel
null
getTypeForName
in interface MetaModel
typeName
- name of type
MetaModel.getTypeForName(java.lang.String)
public Type getType(java.lang.Object obj)
MetaModel
null
getType
in interface MetaModel
obj
- object for which a corresponding object is requested
MetaModel.getType(java.lang.Object)
public java.util.Set<? extends Type> getKnownTypes()
MetaModel
getKnownTypes
in interface MetaModel
MetaModel.getKnownTypes()
public java.lang.String getName()
public boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.util.Set<java.lang.String> getNamespaces()
MetaModel
getNamespaces
in interface MetaModel
Set
containing the names of all namespaces provided by
this metamodel.MetaModel.getNamespaces()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |