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

nz.co.senanque.performance.ObjectFactory Maven / Gradle / Ivy

Go to download

This is a plugin to Madura Objects. It provides a rules/constraint engine to assist with validation, deriving new values from user inputs (eg total of invoices entered on this customer) an manipulating metadata (eg because the amount is above X we make some field readonly). Note that the Java that is using the monitored objects is quite unaware of the rules layer implemented here. That means you can change rules without having to go back to your Java code, and it also means you don't have to wonder if everything implemented the same rules. Anything using that Java object has the rules (unless you turn them all off).

There is a newer version: 3.3.5
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.03.24 at 09:48:53 PM NZDT 
//


package nz.co.senanque.performance;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the nz.co.senanque.performance package. 
 * 

An ObjectFactory allows you to programatically * construct new instances of the Java representation * for XML content. The Java representation of XML * content can consist of schema derived interfaces * and classes representing the binding of schema * type definitions, element declarations and model * groups. Factory methods for each of these are * provided in this class. * */ @XmlRegistry public class ObjectFactory { private final static QName _Session_QNAME = new QName("http://www.example.org/sandbox", "Session"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: nz.co.senanque.performance * */ public ObjectFactory() { } /** * Create an instance of {@link Session } * */ public Session createSession() { return new Session(); } /** * Create an instance of {@link BusinessCustomer } * */ public BusinessCustomer createBusinessCustomer() { return new BusinessCustomer(); } /** * Create an instance of {@link Customer } * */ public Customer createCustomer() { return new Customer(); } /** * Create an instance of {@link Invoice } * */ public Invoice createInvoice() { return new Invoice(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Session }{@code >}} * */ @XmlElementDecl(namespace = "http://www.example.org/sandbox", name = "Session") public JAXBElement createSession(Session value) { return new JAXBElement(_Session_QNAME, Session.class, null, value); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy