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

functions.ServiceObject.ext Maven / Gradle / Ivy

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

cached boolean isServiceObject(uml::Element element):
    element.isStereotypeApplied("ServiceObject");
    
cached JMM::ServiceObject asServiceObject(uml::Element element):
    (JMM::ServiceObject) element;

cached boolean generateOfOperationForServiceObject(uml::Class class):
    if class.isServiceObject() && class.isOpenAPIDataType() == false
    then class.asServiceObject().ofMethod.name != "NONE"
    else false;
    




© 2015 - 2024 Weber Informatics LLC | Privacy Policy