public class MetamodelConcept
extends java.lang.Object
CtClass
).Modifier and Type | Method and Description |
---|---|
CtClass<?> |
getImplementationClass() |
ConceptKind |
getKind() |
CtInterface<?> |
getMetamodelInterface() |
java.lang.String |
getName() |
java.util.Collection<MetamodelProperty> |
getProperties() |
MetamodelProperty |
getProperty(CtRole role) |
java.util.Map<CtRole,MetamodelProperty> |
getRoleToProperty() |
java.util.List<MetamodelConcept> |
getSuperConcepts() |
java.lang.String |
toString() |
public java.lang.String getName()
MetamodelConcept
. For example CtClass, CtForEach, ...
It is never followed by xxxImplpublic ConceptKind getKind()
MetamodelConcept
.public java.util.Map<CtRole,MetamodelProperty> getRoleToProperty()
MetamodelProperty
s by their CtRole
public java.util.Collection<MetamodelProperty> getProperties()
MetamodelProperty
of current MetamodelConcept
Note: actually is the order undefined
TODO: return List in the same order like it is scanned by CtScannerpublic MetamodelProperty getProperty(CtRole role)
role
- a CtRole
MetamodelProperty
for `role` of this conceptpublic java.util.List<MetamodelConcept> getSuperConcepts()
public CtClass<?> getImplementationClass()
CtClass
which represents this MetamodelConcept
public CtInterface<?> getMetamodelInterface()
CtInterface
which represents this MetamodelConcept
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007–2021 Inria. All rights reserved.