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

functions.HeaderParam.ext Maven / Gradle / Ivy

There is a newer version: 1.24.1
Show newest version
extension java::GeneratorCommons;

cached boolean isHeaderParam(uml::Element element):
    element.isStereotypeApplied("HeaderParam");
    
cached JMM::HeaderParam asHeaderParam(uml::Element element):
    (JMM::HeaderParam) element;
    
cached String getHeaderParamName(JMM::HeaderParam param):
    if param.value.length > 0
    then param.value
    else param.name;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy