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

META-INF.andromda.profile.xml Maven / Gradle / Ivy

Go to download

Produces generic Java code, such as: value objects, enumerations, exceptions, interfaces, etc.

The newest version!
<?xml version="1.0" encoding="UTF-8" ?>

<profile>
    <elements>
        <elementGroup name="Stereotypes">
            <element name="SERVICE">
                <documentation>
                    Produces POJO service classes. This includes both a service interface as well as a
                    service implemention.
                </documentation>
                <value>Service</value>
                <appliedOnElement>class</appliedOnElement>
            </element>
            <element name="VALUE_OBJECT">
                <documentation>
                     Produces Java value objects.
                </documentation>
                <value>ValueObject</value>
                <appliedOnElement>class</appliedOnElement>
            </element>
            <element name="WEB_FAULT">
                <documentation>
                     Produces XML Serializable Exceptions used with JAXB or WebServices.
                </documentation>
                <value>WebFault</value>
                <appliedOnElement>class</appliedOnElement>
            </element>
            <element name="ENUMERATION">
                <documentation>
                     Produces type-safe Java enumeration objects.
                </documentation>
                <value>Enumeration</value>
                <appliedOnElement>class</appliedOnElement>
            </element>
            <element name="EXCEPTION">
                <documentation>
                    Produces java checked exception objects. This will produce the same thing as a classifier
                    stereotyped with <![CDATA[<<ApplicationException>>]]>.
                </documentation>
                <value>Exception</value>
                <appliedOnElement>class</appliedOnElement>
            </element>
            <element name="APPLICATION_EXCEPTION">
                <documentation>
                     Produces java application exception objects. Application exceptions are exceptions
                    that are checked exceptions. These are exceptions that client should be able to
                    catch in order to decide whether or not to take some special action.
                </documentation>
                <value>ApplicationException</value>
                <appliedOnElement>class</appliedOnElement>
            </element>
            <element name="UNEXPECTED_EXCEPTION">
                <documentation>
                     Produces java unexpected exception objects. Unexpected
                    exceptions are unchecked runtime exceptions. These are exceptions
                    that clients shouldn't worry about catching but are thrown when
                    some "unexpected" error in the application flow occurs.
                </documentation>
                <value>UnexpectedException</value>
                <appliedOnElement>class</appliedOnElement>
            </element>
        </elementGroup>
    </elements>
</profile>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy