All Downloads are FREE. Search and download functionalities are using the official Maven repository.

functions.ClassifierTemplateParameter.ext Maven / Gradle / Ivy

There is a newer version: 1.24.1
Show newest version
extension functions::TypeChecks;
extension functions::NamedElement;
extension java::Naming;


cached boolean isClassifierTemplateParameter(uml::Element element):
    if element != null
    then element.isInstanceOf("org.eclipse.uml2.uml.ClassifierTemplateParameter")
    else false;

cached uml::ClassifierTemplateParameter asClassifierTemplateParameter(uml::Element element):
    (uml::ClassifierTemplateParameter) element;
    
cached boolean hasTemplateParameterBaseType(uml::ClassifierTemplateParameter parameter):
    parameter.constrainingClassifier != null;

cached String getTemplateParameterBaseType(uml::ClassifierTemplateParameter parameter):
    if parameter.constrainingClassifier != null
    then parameter.constrainingClassifier.package.fqn() + "." + parameter.constrainingClassifier.name
    else null;
    
    
    




© 2015 - 2024 Weber Informatics LLC | Privacy Policy