functions.POJO.ext Maven / Gradle / Ivy
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;