IConcept

interface IConcept

Representation of a language concept.

Inheritors

Properties

Link copied to clipboard
abstract val language: ILanguage?

The language this concept is part of.

Functions

Link copied to clipboard
Link copied to clipboard

Returns all child links of this concept.

Link copied to clipboard

Returns this concept and all of its super-concepts.

Link copied to clipboard

Returns all properties of this concept.

Link copied to clipboard

Returns all reference links of this concepts.

Link copied to clipboard

Returns all sub-concepts (direct and indirect) of the receiver concept.

Link copied to clipboard
abstract fun getChildLink(name: String): IChildLink

Returns the child link with the given name.

Link copied to clipboard
open fun getConceptProperty(name: String): String?

The alias of an MPS concept is one example of a concept property.

Link copied to clipboard

Returns the direct sub-concepts of the receiver concept.

Link copied to clipboard

Returns the direct super concepts of this concept.

Link copied to clipboard

Returns all instantiable sub-concepts (direct and indirect) of the receiver concept.

Link copied to clipboard
abstract fun getLongName(): String

Returns the name of this concept prefixed by the language name.

Link copied to clipboard

Returns the child links, which are directly defined in this concept.

Link copied to clipboard

Returns the properties, which are directly defined in this concept.

Link copied to clipboard

Returns the reference links, which are directly defined in this concept.

Link copied to clipboard
abstract fun getProperty(name: String): IProperty

Returns the property with the given name.

Link copied to clipboard

Returns a reference to this concept.

Link copied to clipboard

Returns the reference link with the given name.

Link copied to clipboard
abstract fun getShortName(): String

Returns the name of this concept.

Link copied to clipboard
abstract fun getUID(): String

Returns unique concept id of this concept.

Link copied to clipboard
abstract fun isAbstract(): Boolean

Checks if this concept is abstract.

Link copied to clipboard
abstract fun isExactly(concept: IConcept?): Boolean

Checks if the given concept is equal to this concept.

Link copied to clipboard
abstract fun isSubConceptOf(superConcept: IConcept?): Boolean

Checks if this concept is a sub-concept of the given concept.

Link copied to clipboard
fun IConcept.isSubConceptOf(superConceptReference: IConceptReference): Boolean

Checks if this is a sub-concept of the IConcept that is identified by the superConceptReference's UID.

fun IConcept?.isSubConceptOf(superConcept: IConcept?): Boolean