The jIvalo Framework uses AndroMDA custom cartridges to generate code. Stereotypes, Tagged Values and Constants are used to determing witch type code and artifacts are generated. Application service, Transfer Object and other patterns are defined in J2EE Core Patterns second edition.
Two class diagrams are used one for Business Domain and one for Deployment.
Definitions
Applied on: class in Deployment class diagram
Used to define a javax.sql.DataSource resource.
Applied on: class
Produces a tranfer object for data and for operations a POJO application service. Creates an XSD complete type definition.
Applied on: A dependency going into an PersistentClass
Used to reference an entity from another entity or service.
Applied on: PersistentClass operation
Denotes this operation to perform a query on the underlying collection of entities, rather than execute business logic.
Applied on: PersistentClass attribute
Identifies an attribute as an identifier (primary key). Can be combined with other Identifier attributes (produces combined primary key an EJB primary key class).
Applied on: Entity
Produces a BMP EJB entity with DAO implementation.
Applied on: A dependency going into a class having a stereotype of UserTransaction or DataSource, out of a Service or a PersistentClass in Deployment class diagram
Used to reference a resource, like a DataSource from a service or entity bean.
Applied on: class
Produces a POJO application service and a Session EJB facade for it.
Applied on: A dependency going into a Service
Used to reference a service from an entity or another service.
Applied on: class
Produces type-safe Java enumeration objects.
Applied on: TypesafeEnum class attribute
Denotes the attribute to typesafe enumeration contant.
Attribute default value
Applied on: TypesafeEnum class operation
Denotes the attribute to typesafe enumeration contant.
Attribute default value
Applied on: TypesafeEnum class operation
Denotes the attribute to typesafe enumeration contant.
Attribute default value
Applied on: Service operation
This is used in conjunction with the <<Service>> stereotype. Creates a WSDD service fragment for Service. Adds the method to the list of allowed methods which will be exposed as a web service.
Applied on: Service operation
Creates a WSDD service fragment for Service. Adds the method to the list of allowed methods which will be exposed as a web service.
jivalo_xsd_elementName jivalo_xsd_generateSchema true false jivalo_xsd_namespace jivalo_xsd_namespacePrefix jivalo_xsd_schemaLocation
Applied on: PersistentClass
Can be used in class level of an entity. If you set this to true, the class will use an automatic key generation for the defined primary key. Please note: Can not be used with combined primary keys and also database must support Auto Generated Keys.
@andromda.ejb.transaction.type
Applied on: Service operations
Defines a transaction type for the method.
Allowed values for this element:
Applied on: Service
Defines the view type for a Session EJB.
Allowed values for this element:
Applied on: PersistentClass.
Defines the relational table name for entity persistence.
Applied on: PersistentClass attribute
Represents the column name for entity persistence.
@andromda.persistence.column.length
Applied on: PersistentClass attribute
Represents the column length for entity persistence.
@jivalo.enum.behavior.constants
Applied on: TypesafeEnum class
Defines wheater typesafe enumeration contants have behavior ( One TypesafeEnumConstantMethod method ).
Allowed values for this element (defaults to false):
@jivalo.enum.method.implementation
Applied on: TypesafeEnum class
Defines enumeration method implementation.