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

functions.POJO.ext Maven / Gradle / Ivy

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

cached boolean isPOJO(uml::Element element):
    element.isStereotypeApplied("POJO");
    
cached JMM::POJO asPOJO(uml::Element element):
    (JMM::POJO) element;
    
cached boolean generateOfOperationForPOJO(uml::Class class):
    if class.isPOJO() && class.isOpenAPIDataType() == false
    then class.asPOJO().ofMethod.name != "NONE"
    else false;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy