http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ObjectFactory.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ObjectFactory.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ObjectFactory.java index 7b6f689..5703719 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ObjectFactory.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ObjectFactory.java @@ -1,387 +1,387 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.openejb.jee.was.v6.ecore; - -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 org.apache.openejb.jee.was.v6.ecore - * package. - * <p/> - * 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 _ETypedElement_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "ETypedElement"); - private final static QName _EFactory_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EFactory"); - private final static QName _EOperation_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EOperation"); - private final static QName _EClassifier_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EClassifier"); - private final static QName _EStringToStringMapEntry_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EStringToStringMapEntry"); - private final static QName _EObject_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EObject"); - private final static QName _EAttribute_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EAttribute"); - private final static QName _EModelElement_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EModelElement"); - private final static QName _EEnum_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EEnum"); - private final static QName _EEnumLiteral_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EEnumLiteral"); - private final static QName _EReference_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EReference"); - private final static QName _EStructuralFeature_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EStructuralFeature"); - private final static QName _EAnnotation_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EAnnotation"); - private final static QName _ENamedElement_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "ENamedElement"); - private final static QName _EParameter_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EParameter"); - private final static QName _EDataType_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EDataType"); - private final static QName _EClass_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EClass"); - private final static QName _EPackage_QNAME = new QName( - "http://www.eclipse.org/emf/2002/Ecore", "EPackage"); - - /** - * Create a new ObjectFactory that can be used to create new instances of - * schema derived classes for package: org.apache.openejb.jee.was.v6.ecore - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link EFactory } - */ - public EFactory createEFactory() { - return new EFactory(); - } - - /** - * Create an instance of {@link EStringToStringMapEntry } - */ - public EStringToStringMapEntry createEStringToStringMapEntry() { - return new EStringToStringMapEntry(); - } - - /** - * Create an instance of {@link EOperation } - */ - public EOperation createEOperation() { - return new EOperation(); - } - - /** - * Create an instance of {@link EAnnotation } - */ - public EAnnotation createEAnnotation() { - return new EAnnotation(); - } - - /** - * Create an instance of {@link EClassifier } - */ - public EClassifier createEClassifier() { - return new EClassifier(); - } - - /** - * Create an instance of {@link EClass } - */ - public EClass createEClass() { - return new EClass(); - } - - /** - * Create an instance of {@link ETypedElement } - */ - public ETypedElement createETypedElement() { - return new ETypedElement(); - } - - /** - * Create an instance of {@link EParameter } - */ - public EParameter createEParameter() { - return new EParameter(); - } - - /** - * Create an instance of {@link EStructuralFeature } - */ - public EStructuralFeature createEStructuralFeature() { - return new EStructuralFeature(); - } - - /** - * Create an instance of {@link EEnumLiteral } - */ - public EEnumLiteral createEEnumLiteral() { - return new EEnumLiteral(); - } - - /** - * Create an instance of {@link EReference } - */ - public EReference createEReference() { - return new EReference(); - } - - /** - * Create an instance of {@link EEnum } - */ - public EEnum createEEnum() { - return new EEnum(); - } - - /** - * Create an instance of {@link ENamedElement } - */ - public ENamedElement createENamedElement() { - return new ENamedElement(); - } - - /** - * Create an instance of {@link EModelElement } - */ - public EModelElement createEModelElement() { - return new EModelElement(); - } - - /** - * Create an instance of {@link EPackage } - */ - public EPackage createEPackage() { - return new EPackage(); - } - - /** - * Create an instance of {@link EDataType } - */ - public EDataType createEDataType() { - return new EDataType(); - } - - /** - * Create an instance of {@link EObject } - */ - public EObject createEObject() { - return new EObject(); - } - - /** - * Create an instance of {@link EAttribute } - */ - public EAttribute createEAttribute() { - return new EAttribute(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ETypedElement } - * {@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "ETypedElement") - public JAXBElement<ETypedElement> createETypedElement(final ETypedElement value) { - return new JAXBElement<ETypedElement>(_ETypedElement_QNAME, - ETypedElement.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EFactory }{@code - * >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EFactory") - public JAXBElement<EFactory> createEFactory(final EFactory value) { - return new JAXBElement<EFactory>(_EFactory_QNAME, EFactory.class, null, - value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EOperation } - * {@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EOperation") - public JAXBElement<EOperation> createEOperation(final EOperation value) { - return new JAXBElement<EOperation>(_EOperation_QNAME, EOperation.class, - null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EClassifier } - * {@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EClassifier") - public JAXBElement<EClassifier> createEClassifier(final EClassifier value) { - return new JAXBElement<EClassifier>(_EClassifier_QNAME, - EClassifier.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <} - * {@link EStringToStringMapEntry }{@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EStringToStringMapEntry") - public JAXBElement<EStringToStringMapEntry> createEStringToStringMapEntry( - final EStringToStringMapEntry value) { - return new JAXBElement<EStringToStringMapEntry>( - _EStringToStringMapEntry_QNAME, EStringToStringMapEntry.class, - null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EObject }{@code - * >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EObject") - public JAXBElement<EObject> createEObject(final EObject value) { - return new JAXBElement<EObject>(_EObject_QNAME, EObject.class, null, - value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EAttribute } - * {@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EAttribute") - public JAXBElement<EAttribute> createEAttribute(final EAttribute value) { - return new JAXBElement<EAttribute>(_EAttribute_QNAME, EAttribute.class, - null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EModelElement } - * {@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EModelElement") - public JAXBElement<EModelElement> createEModelElement(final EModelElement value) { - return new JAXBElement<EModelElement>(_EModelElement_QNAME, - EModelElement.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EEnum }{@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EEnum") - public JAXBElement<EEnum> createEEnum(final EEnum value) { - return new JAXBElement<EEnum>(_EEnum_QNAME, EEnum.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EEnumLiteral } - * {@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EEnumLiteral") - public JAXBElement<EEnumLiteral> createEEnumLiteral(final EEnumLiteral value) { - return new JAXBElement<EEnumLiteral>(_EEnumLiteral_QNAME, - EEnumLiteral.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EReference } - * {@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EReference") - public JAXBElement<EReference> createEReference(final EReference value) { - return new JAXBElement<EReference>(_EReference_QNAME, EReference.class, - null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <} - * {@link EStructuralFeature }{@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EStructuralFeature") - public JAXBElement<EStructuralFeature> createEStructuralFeature( - final EStructuralFeature value) { - return new JAXBElement<EStructuralFeature>(_EStructuralFeature_QNAME, - EStructuralFeature.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EAnnotation } - * {@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EAnnotation") - public JAXBElement<EAnnotation> createEAnnotation(final EAnnotation value) { - return new JAXBElement<EAnnotation>(_EAnnotation_QNAME, - EAnnotation.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ENamedElement } - * {@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "ENamedElement") - public JAXBElement<ENamedElement> createENamedElement(final ENamedElement value) { - return new JAXBElement<ENamedElement>(_ENamedElement_QNAME, - ENamedElement.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EParameter } - * {@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EParameter") - public JAXBElement<EParameter> createEParameter(final EParameter value) { - return new JAXBElement<EParameter>(_EParameter_QNAME, EParameter.class, - null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EDataType } - * {@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EDataType") - public JAXBElement<EDataType> createEDataType(final EDataType value) { - return new JAXBElement<EDataType>(_EDataType_QNAME, EDataType.class, - null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EClass }{@code >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EClass") - public JAXBElement<EClass> createEClass(final EClass value) { - return new JAXBElement<EClass>(_EClass_QNAME, EClass.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EPackage }{@code - * >} - */ - @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EPackage") - public JAXBElement<EPackage> createEPackage(final EPackage value) { - return new JAXBElement<EPackage>(_EPackage_QNAME, EPackage.class, null, - value); - } - -} +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.openejb.jee.was.v6.ecore; + +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 org.apache.openejb.jee.was.v6.ecore + * package. + * <p/> + * 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 _ETypedElement_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "ETypedElement"); + private final static QName _EFactory_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EFactory"); + private final static QName _EOperation_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EOperation"); + private final static QName _EClassifier_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EClassifier"); + private final static QName _EStringToStringMapEntry_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EStringToStringMapEntry"); + private final static QName _EObject_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EObject"); + private final static QName _EAttribute_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EAttribute"); + private final static QName _EModelElement_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EModelElement"); + private final static QName _EEnum_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EEnum"); + private final static QName _EEnumLiteral_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EEnumLiteral"); + private final static QName _EReference_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EReference"); + private final static QName _EStructuralFeature_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EStructuralFeature"); + private final static QName _EAnnotation_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EAnnotation"); + private final static QName _ENamedElement_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "ENamedElement"); + private final static QName _EParameter_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EParameter"); + private final static QName _EDataType_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EDataType"); + private final static QName _EClass_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EClass"); + private final static QName _EPackage_QNAME = new QName( + "http://www.eclipse.org/emf/2002/Ecore", "EPackage"); + + /** + * Create a new ObjectFactory that can be used to create new instances of + * schema derived classes for package: org.apache.openejb.jee.was.v6.ecore + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link EFactory } + */ + public EFactory createEFactory() { + return new EFactory(); + } + + /** + * Create an instance of {@link EStringToStringMapEntry } + */ + public EStringToStringMapEntry createEStringToStringMapEntry() { + return new EStringToStringMapEntry(); + } + + /** + * Create an instance of {@link EOperation } + */ + public EOperation createEOperation() { + return new EOperation(); + } + + /** + * Create an instance of {@link EAnnotation } + */ + public EAnnotation createEAnnotation() { + return new EAnnotation(); + } + + /** + * Create an instance of {@link EClassifier } + */ + public EClassifier createEClassifier() { + return new EClassifier(); + } + + /** + * Create an instance of {@link EClass } + */ + public EClass createEClass() { + return new EClass(); + } + + /** + * Create an instance of {@link ETypedElement } + */ + public ETypedElement createETypedElement() { + return new ETypedElement(); + } + + /** + * Create an instance of {@link EParameter } + */ + public EParameter createEParameter() { + return new EParameter(); + } + + /** + * Create an instance of {@link EStructuralFeature } + */ + public EStructuralFeature createEStructuralFeature() { + return new EStructuralFeature(); + } + + /** + * Create an instance of {@link EEnumLiteral } + */ + public EEnumLiteral createEEnumLiteral() { + return new EEnumLiteral(); + } + + /** + * Create an instance of {@link EReference } + */ + public EReference createEReference() { + return new EReference(); + } + + /** + * Create an instance of {@link EEnum } + */ + public EEnum createEEnum() { + return new EEnum(); + } + + /** + * Create an instance of {@link ENamedElement } + */ + public ENamedElement createENamedElement() { + return new ENamedElement(); + } + + /** + * Create an instance of {@link EModelElement } + */ + public EModelElement createEModelElement() { + return new EModelElement(); + } + + /** + * Create an instance of {@link EPackage } + */ + public EPackage createEPackage() { + return new EPackage(); + } + + /** + * Create an instance of {@link EDataType } + */ + public EDataType createEDataType() { + return new EDataType(); + } + + /** + * Create an instance of {@link EObject } + */ + public EObject createEObject() { + return new EObject(); + } + + /** + * Create an instance of {@link EAttribute } + */ + public EAttribute createEAttribute() { + return new EAttribute(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ETypedElement } + * {@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "ETypedElement") + public JAXBElement<ETypedElement> createETypedElement(final ETypedElement value) { + return new JAXBElement<ETypedElement>(_ETypedElement_QNAME, + ETypedElement.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EFactory }{@code + * >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EFactory") + public JAXBElement<EFactory> createEFactory(final EFactory value) { + return new JAXBElement<EFactory>(_EFactory_QNAME, EFactory.class, null, + value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EOperation } + * {@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EOperation") + public JAXBElement<EOperation> createEOperation(final EOperation value) { + return new JAXBElement<EOperation>(_EOperation_QNAME, EOperation.class, + null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EClassifier } + * {@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EClassifier") + public JAXBElement<EClassifier> createEClassifier(final EClassifier value) { + return new JAXBElement<EClassifier>(_EClassifier_QNAME, + EClassifier.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <} + * {@link EStringToStringMapEntry }{@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EStringToStringMapEntry") + public JAXBElement<EStringToStringMapEntry> createEStringToStringMapEntry( + final EStringToStringMapEntry value) { + return new JAXBElement<EStringToStringMapEntry>( + _EStringToStringMapEntry_QNAME, EStringToStringMapEntry.class, + null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EObject }{@code + * >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EObject") + public JAXBElement<EObject> createEObject(final EObject value) { + return new JAXBElement<EObject>(_EObject_QNAME, EObject.class, null, + value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EAttribute } + * {@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EAttribute") + public JAXBElement<EAttribute> createEAttribute(final EAttribute value) { + return new JAXBElement<EAttribute>(_EAttribute_QNAME, EAttribute.class, + null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EModelElement } + * {@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EModelElement") + public JAXBElement<EModelElement> createEModelElement(final EModelElement value) { + return new JAXBElement<EModelElement>(_EModelElement_QNAME, + EModelElement.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EEnum }{@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EEnum") + public JAXBElement<EEnum> createEEnum(final EEnum value) { + return new JAXBElement<EEnum>(_EEnum_QNAME, EEnum.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EEnumLiteral } + * {@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EEnumLiteral") + public JAXBElement<EEnumLiteral> createEEnumLiteral(final EEnumLiteral value) { + return new JAXBElement<EEnumLiteral>(_EEnumLiteral_QNAME, + EEnumLiteral.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EReference } + * {@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EReference") + public JAXBElement<EReference> createEReference(final EReference value) { + return new JAXBElement<EReference>(_EReference_QNAME, EReference.class, + null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <} + * {@link EStructuralFeature }{@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EStructuralFeature") + public JAXBElement<EStructuralFeature> createEStructuralFeature( + final EStructuralFeature value) { + return new JAXBElement<EStructuralFeature>(_EStructuralFeature_QNAME, + EStructuralFeature.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EAnnotation } + * {@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EAnnotation") + public JAXBElement<EAnnotation> createEAnnotation(final EAnnotation value) { + return new JAXBElement<EAnnotation>(_EAnnotation_QNAME, + EAnnotation.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ENamedElement } + * {@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "ENamedElement") + public JAXBElement<ENamedElement> createENamedElement(final ENamedElement value) { + return new JAXBElement<ENamedElement>(_ENamedElement_QNAME, + ENamedElement.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EParameter } + * {@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EParameter") + public JAXBElement<EParameter> createEParameter(final EParameter value) { + return new JAXBElement<EParameter>(_EParameter_QNAME, EParameter.class, + null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EDataType } + * {@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EDataType") + public JAXBElement<EDataType> createEDataType(final EDataType value) { + return new JAXBElement<EDataType>(_EDataType_QNAME, EDataType.class, + null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EClass }{@code >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EClass") + public JAXBElement<EClass> createEClass(final EClass value) { + return new JAXBElement<EClass>(_EClass_QNAME, EClass.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EPackage }{@code + * >} + */ + @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EPackage") + public JAXBElement<EPackage> createEPackage(final EPackage value) { + return new JAXBElement<EPackage>(_EPackage_QNAME, EPackage.class, null, + value); + } + +}
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/package-info.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/package-info.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/package-info.java index b37418e..cebe61c 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/package-info.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/package-info.java @@ -1,18 +1,18 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.eclipse.org/emf/2002/Ecore") package org.apache.openejb.jee.was.v6.ecore; - +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.eclipse.org/emf/2002/Ecore") package org.apache.openejb.jee.was.v6.ecore; + http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AcknowledgeModeEnum.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AcknowledgeModeEnum.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AcknowledgeModeEnum.java index fc1b8e4..bd3e385 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AcknowledgeModeEnum.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AcknowledgeModeEnum.java @@ -1,65 +1,65 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.openejb.jee.was.v6.ejb; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; - -/** - * <p/> - * Java class for AcknowledgeMode. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained within - * this class. - * <p/> - * <p/> - * <pre> - * <simpleType name="AcknowledgeMode"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> - * <enumeration value="AutoAcknowledge"/> - * <enumeration value="DupsOkAcknowledge"/> - * </restriction> - * </simpleType> - * </pre> - */ -@XmlEnum -public enum AcknowledgeModeEnum { - - @XmlEnumValue("AutoAcknowledge") - AUTO_ACKNOWLEDGE("AutoAcknowledge"), @XmlEnumValue("DupsOkAcknowledge") - DUPS_OK_ACKNOWLEDGE("DupsOkAcknowledge"); - private final String value; - - AcknowledgeModeEnum(final String v) { - value = v; - } - - public String value() { - return value; - } - - public static AcknowledgeModeEnum fromValue(final String v) { - for (final AcknowledgeModeEnum c : AcknowledgeModeEnum.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v.toString()); - } - -} +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.openejb.jee.was.v6.ejb; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; + +/** + * <p/> + * Java class for AcknowledgeMode. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained within + * this class. + * <p/> + * <p/> + * <pre> + * <simpleType name="AcknowledgeMode"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> + * <enumeration value="AutoAcknowledge"/> + * <enumeration value="DupsOkAcknowledge"/> + * </restriction> + * </simpleType> + * </pre> + */ +@XmlEnum +public enum AcknowledgeModeEnum { + + @XmlEnumValue("AutoAcknowledge") + AUTO_ACKNOWLEDGE("AutoAcknowledge"), @XmlEnumValue("DupsOkAcknowledge") + DUPS_OK_ACKNOWLEDGE("DupsOkAcknowledge"); + private final String value; + + AcknowledgeModeEnum(final String v) { + value = v; + } + + public String value() { + return value; + } + + public static AcknowledgeModeEnum fromValue(final String v) { + for (final AcknowledgeModeEnum c : AcknowledgeModeEnum.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v.toString()); + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfig.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfig.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfig.java index 5884e65..8d1d057 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfig.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfig.java @@ -1,318 +1,318 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.openejb.jee.was.v6.ejb; - -import org.apache.openejb.jee.was.v6.common.Description; -import org.apache.openejb.jee.was.v6.xmi.Extension; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlID; -import javax.xml.bind.annotation.XmlIDREF; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.namespace.QName; -import java.util.ArrayList; -import java.util.List; - -/** - * @since J2EE1.4 The activation-configType defines information about the - * expected configuration properties of the message-driven bean in its - * operational environment. This may include information about message - * acknowledgement, message selector, expected destination type, etc. - * <p/> - * The configuration information is expressed in terms of name/value - * configuration properties. - * <p/> - * The properties that are recognized for a particular message-driven - * bean are determined by the messaging type. - * <p/> - * <p/> - * <p/> - * Java class for ActivationConfig complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained - * within this class. - * <p/> - * <pre> - * <complexType name="ActivationConfig"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="configProperties" type="{ejb.xmi}ActivationConfigProperty"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="descriptions" type="{common.xmi}Description"/> - * </choice> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element ref="{http://www.omg.org/XMI}Extension"/> - * </choice> - * </choice> - * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> - * <attribute ref="{http://www.omg.org/XMI}id"/> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ActivationConfig", propOrder = {"configProperties", - "descriptions", "extensions"}) -public class ActivationConfig { - - protected List<ActivationConfigProperty> configProperties; - protected List<Description> descriptions; - @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") - protected List<Extension> extensions; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlID - protected String id; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected QName type; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected String version; - @XmlAttribute - protected String href; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - @XmlIDREF - protected Object idref; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected String label; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected String uuid; - - /** - * Gets the value of the configProperties property. - * <p/> - * <p/> - * This accessor method returns a reference to the live list, not a - * snapshot. Therefore any modification you make to the returned list will - * be present inside the JAXB object. This is why there is not a - * <CODE>set</CODE> method for the configProperties property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getConfigProperties().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link ActivationConfigProperty } - */ - public List<ActivationConfigProperty> getConfigProperties() { - if (configProperties == null) { - configProperties = new ArrayList<ActivationConfigProperty>(); - } - return this.configProperties; - } - - /** - * Gets the value of the descriptions property. - * <p/> - * <p/> - * This accessor method returns a reference to the live list, not a - * snapshot. Therefore any modification you make to the returned list will - * be present inside the JAXB object. This is why there is not a - * <CODE>set</CODE> method for the descriptions property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getDescriptions().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link Description } - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new ArrayList<Description>(); - } - return this.descriptions; - } - - /** - * Gets the value of the extensions property. - * <p/> - * <p/> - * This accessor method returns a reference to the live list, not a - * snapshot. Therefore any modification you make to the returned list will - * be present inside the JAXB object. This is why there is not a - * <CODE>set</CODE> method for the extensions property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getExtensions().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link Extension } - */ - public List<Extension> getExtensions() { - if (extensions == null) { - extensions = new ArrayList<Extension>(); - } - return this.extensions; - } - - /** - * Gets the value of the id property. - * - * @return possible object is {@link String } - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value allowed object is {@link String } - */ - public void setId(final String value) { - this.id = value; - } - - /** - * Gets the value of the type property. - * - * @return possible object is {@link QName } - */ - public QName getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value allowed object is {@link QName } - */ - public void setType(final QName value) { - this.type = value; - } - - /** - * Gets the value of the version property. - * - * @return possible object is {@link String } - */ - public String getVersion() { - if (version == null) { - return "2.0"; - } else { - return version; - } - } - - /** - * Sets the value of the version property. - * - * @param value allowed object is {@link String } - */ - public void setVersion(final String value) { - this.version = value; - } - - /** - * Gets the value of the href property. - * - * @return possible object is {@link String } - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value allowed object is {@link String } - */ - public void setHref(final String value) { - this.href = value; - } - - /** - * Gets the value of the idref property. - * - * @return possible object is {@link Object } - */ - public Object getIdref() { - return idref; - } - - /** - * Sets the value of the idref property. - * - * @param value allowed object is {@link Object } - */ - public void setIdref(final Object value) { - this.idref = value; - } - - /** - * Gets the value of the label property. - * - * @return possible object is {@link String } - */ - public String getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value allowed object is {@link String } - */ - public void setLabel(final String value) { - this.label = value; - } - - /** - * Gets the value of the uuid property. - * - * @return possible object is {@link String } - */ - public String getUuid() { - return uuid; - } - - /** - * Sets the value of the uuid property. - * - * @param value allowed object is {@link String } - */ - public void setUuid(final String value) { - this.uuid = value; - } - -} +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.openejb.jee.was.v6.ejb; + +import org.apache.openejb.jee.was.v6.common.Description; +import org.apache.openejb.jee.was.v6.xmi.Extension; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.List; + +/** + * @since J2EE1.4 The activation-configType defines information about the + * expected configuration properties of the message-driven bean in its + * operational environment. This may include information about message + * acknowledgement, message selector, expected destination type, etc. + * <p/> + * The configuration information is expressed in terms of name/value + * configuration properties. + * <p/> + * The properties that are recognized for a particular message-driven + * bean are determined by the messaging type. + * <p/> + * <p/> + * <p/> + * Java class for ActivationConfig complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained + * within this class. + * <p/> + * <pre> + * <complexType name="ActivationConfig"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="configProperties" type="{ejb.xmi}ActivationConfigProperty"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="descriptions" type="{common.xmi}Description"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://www.omg.org/XMI}Extension"/> + * </choice> + * </choice> + * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> + * <attribute ref="{http://www.omg.org/XMI}id"/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ActivationConfig", propOrder = {"configProperties", + "descriptions", "extensions"}) +public class ActivationConfig { + + protected List<ActivationConfigProperty> configProperties; + protected List<Description> descriptions; + @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") + protected List<Extension> extensions; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected QName type; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected String version; + @XmlAttribute + protected String href; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + @XmlIDREF + protected Object idref; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected String label; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected String uuid; + + /** + * Gets the value of the configProperties property. + * <p/> + * <p/> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a + * <CODE>set</CODE> method for the configProperties property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getConfigProperties().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link ActivationConfigProperty } + */ + public List<ActivationConfigProperty> getConfigProperties() { + if (configProperties == null) { + configProperties = new ArrayList<ActivationConfigProperty>(); + } + return this.configProperties; + } + + /** + * Gets the value of the descriptions property. + * <p/> + * <p/> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a + * <CODE>set</CODE> method for the descriptions property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getDescriptions().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link Description } + */ + public List<Description> getDescriptions() { + if (descriptions == null) { + descriptions = new ArrayList<Description>(); + } + return this.descriptions; + } + + /** + * Gets the value of the extensions property. + * <p/> + * <p/> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a + * <CODE>set</CODE> method for the extensions property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getExtensions().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link Extension } + */ + public List<Extension> getExtensions() { + if (extensions == null) { + extensions = new ArrayList<Extension>(); + } + return this.extensions; + } + + /** + * Gets the value of the id property. + * + * @return possible object is {@link String } + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value allowed object is {@link String } + */ + public void setId(final String value) { + this.id = value; + } + + /** + * Gets the value of the type property. + * + * @return possible object is {@link QName } + */ + public QName getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value allowed object is {@link QName } + */ + public void setType(final QName value) { + this.type = value; + } + + /** + * Gets the value of the version property. + * + * @return possible object is {@link String } + */ + public String getVersion() { + if (version == null) { + return "2.0"; + } else { + return version; + } + } + + /** + * Sets the value of the version property. + * + * @param value allowed object is {@link String } + */ + public void setVersion(final String value) { + this.version = value; + } + + /** + * Gets the value of the href property. + * + * @return possible object is {@link String } + */ + public String getHref() { + return href; + } + + /** + * Sets the value of the href property. + * + * @param value allowed object is {@link String } + */ + public void setHref(final String value) { + this.href = value; + } + + /** + * Gets the value of the idref property. + * + * @return possible object is {@link Object } + */ + public Object getIdref() { + return idref; + } + + /** + * Sets the value of the idref property. + * + * @param value allowed object is {@link Object } + */ + public void setIdref(final Object value) { + this.idref = value; + } + + /** + * Gets the value of the label property. + * + * @return possible object is {@link String } + */ + public String getLabel() { + return label; + } + + /** + * Sets the value of the label property. + * + * @param value allowed object is {@link String } + */ + public void setLabel(final String value) { + this.label = value; + } + + /** + * Gets the value of the uuid property. + * + * @return possible object is {@link String } + */ + public String getUuid() { + return uuid; + } + + /** + * Sets the value of the uuid property. + * + * @param value allowed object is {@link String } + */ + public void setUuid(final String value) { + this.uuid = value; + } + +} http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfigProperty.java ---------------------------------------------------------------------- diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfigProperty.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfigProperty.java index 48c0600..7bac089 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfigProperty.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfigProperty.java @@ -1,287 +1,287 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.openejb.jee.was.v6.ejb; - -import org.apache.openejb.jee.was.v6.xmi.Extension; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlID; -import javax.xml.bind.annotation.XmlIDREF; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.namespace.QName; -import java.util.ArrayList; -import java.util.List; - -/** - * @since J2EE1.4 The activation-config-propertyType contains a name/value - * configuration property pair for a message-driven bean. - * <p/> - * The properties that are recognized for a particular message-driven - * bean are determined by the messaging type. - * <p/> - * <p/> - * <p/> - * Java class for ActivationConfigProperty complex type. - * <p/> - * <p/> - * The following schema fragment specifies the expected content contained - * within this class. - * <p/> - * <pre> - * <complexType name="ActivationConfigProperty"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element ref="{http://www.omg.org/XMI}Extension"/> - * </choice> - * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> - * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute ref="{http://www.omg.org/XMI}id"/> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ActivationConfigProperty", propOrder = {"extensions"}) -public class ActivationConfigProperty { - - @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") - protected List<Extension> extensions; - @XmlAttribute - protected String name; - @XmlAttribute - protected String value; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlID - protected String id; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected QName type; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected String version; - @XmlAttribute - protected String href; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - @XmlIDREF - protected Object idref; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected String label; - @XmlAttribute(namespace = "http://www.omg.org/XMI") - protected String uuid; - - /** - * Gets the value of the extensions property. - * <p/> - * <p/> - * This accessor method returns a reference to the live list, not a - * snapshot. Therefore any modification you make to the returned list will - * be present inside the JAXB object. This is why there is not a - * <CODE>set</CODE> method for the extensions property. - * <p/> - * <p/> - * For example, to add a new item, do as follows: - * <p/> - * <pre> - * getExtensions().add(newItem); - * </pre> - * <p/> - * <p/> - * <p/> - * Objects of the following type(s) are allowed in the list - * {@link Extension } - */ - public List<Extension> getExtensions() { - if (extensions == null) { - extensions = new ArrayList<Extension>(); - } - return this.extensions; - } - - /** - * Gets the value of the name property. - * - * @return possible object is {@link String } - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value allowed object is {@link String } - */ - public void setName(final String value) { - this.name = value; - } - - /** - * Gets the value of the value property. - * - * @return possible object is {@link String } - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value allowed object is {@link String } - */ - public void setValue(final String value) { - this.value = value; - } - - /** - * Gets the value of the id property. - * - * @return possible object is {@link String } - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value allowed object is {@link String } - */ - public void setId(final String value) { - this.id = value; - } - - /** - * Gets the value of the type property. - * - * @return possible object is {@link QName } - */ - public QName getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value allowed object is {@link QName } - */ - public void setType(final QName value) { - this.type = value; - } - - /** - * Gets the value of the version property. - * - * @return possible object is {@link String } - */ - public String getVersion() { - if (version == null) { - return "2.0"; - } else { - return version; - } - } - - /** - * Sets the value of the version property. - * - * @param value allowed object is {@link String } - */ - public void setVersion(final String value) { - this.version = value; - } - - /** - * Gets the value of the href property. - * - * @return possible object is {@link String } - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value allowed object is {@link String } - */ - public void setHref(final String value) { - this.href = value; - } - - /** - * Gets the value of the idref property. - * - * @return possible object is {@link Object } - */ - public Object getIdref() { - return idref; - } - - /** - * Sets the value of the idref property. - * - * @param value allowed object is {@link Object } - */ - public void setIdref(final Object value) { - this.idref = value; - } - - /** - * Gets the value of the label property. - * - * @return possible object is {@link String } - */ - public String getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value allowed object is {@link String } - */ - public void setLabel(final String value) { - this.label = value; - } - - /** - * Gets the value of the uuid property. - * - * @return possible object is {@link String } - */ - public String getUuid() { - return uuid; - } - - /** - * Sets the value of the uuid property. - * - * @param value allowed object is {@link String } - */ - public void setUuid(final String value) { - this.uuid = value; - } - -} +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.openejb.jee.was.v6.ejb; + +import org.apache.openejb.jee.was.v6.xmi.Extension; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.List; + +/** + * @since J2EE1.4 The activation-config-propertyType contains a name/value + * configuration property pair for a message-driven bean. + * <p/> + * The properties that are recognized for a particular message-driven + * bean are determined by the messaging type. + * <p/> + * <p/> + * <p/> + * Java class for ActivationConfigProperty complex type. + * <p/> + * <p/> + * The following schema fragment specifies the expected content contained + * within this class. + * <p/> + * <pre> + * <complexType name="ActivationConfigProperty"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://www.omg.org/XMI}Extension"/> + * </choice> + * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/> + * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute ref="{http://www.omg.org/XMI}id"/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ActivationConfigProperty", propOrder = {"extensions"}) +public class ActivationConfigProperty { + + @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI") + protected List<Extension> extensions; + @XmlAttribute + protected String name; + @XmlAttribute + protected String value; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected QName type; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected String version; + @XmlAttribute + protected String href; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + @XmlIDREF + protected Object idref; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected String label; + @XmlAttribute(namespace = "http://www.omg.org/XMI") + protected String uuid; + + /** + * Gets the value of the extensions property. + * <p/> + * <p/> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a + * <CODE>set</CODE> method for the extensions property. + * <p/> + * <p/> + * For example, to add a new item, do as follows: + * <p/> + * <pre> + * getExtensions().add(newItem); + * </pre> + * <p/> + * <p/> + * <p/> + * Objects of the following type(s) are allowed in the list + * {@link Extension } + */ + public List<Extension> getExtensions() { + if (extensions == null) { + extensions = new ArrayList<Extension>(); + } + return this.extensions; + } + + /** + * Gets the value of the name property. + * + * @return possible object is {@link String } + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value allowed object is {@link String } + */ + public void setName(final String value) { + this.name = value; + } + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(final String value) { + this.value = value; + } + + /** + * Gets the value of the id property. + * + * @return possible object is {@link String } + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value allowed object is {@link String } + */ + public void setId(final String value) { + this.id = value; + } + + /** + * Gets the value of the type property. + * + * @return possible object is {@link QName } + */ + public QName getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value allowed object is {@link QName } + */ + public void setType(final QName value) { + this.type = value; + } + + /** + * Gets the value of the version property. + * + * @return possible object is {@link String } + */ + public String getVersion() { + if (version == null) { + return "2.0"; + } else { + return version; + } + } + + /** + * Sets the value of the version property. + * + * @param value allowed object is {@link String } + */ + public void setVersion(final String value) { + this.version = value; + } + + /** + * Gets the value of the href property. + * + * @return possible object is {@link String } + */ + public String getHref() { + return href; + } + + /** + * Sets the value of the href property. + * + * @param value allowed object is {@link String } + */ + public void setHref(final String value) { + this.href = value; + } + + /** + * Gets the value of the idref property. + * + * @return possible object is {@link Object } + */ + public Object getIdref() { + return idref; + } + + /** + * Sets the value of the idref property. + * + * @param value allowed object is {@link Object } + */ + public void setIdref(final Object value) { + this.idref = value; + } + + /** + * Gets the value of the label property. + * + * @return possible object is {@link String } + */ + public String getLabel() { + return label; + } + + /** + * Sets the value of the label property. + * + * @param value allowed object is {@link String } + */ + public void setLabel(final String value) { + this.label = value; + } + + /** + * Gets the value of the uuid property. + * + * @return possible object is {@link String } + */ + public String getUuid() { + return uuid; + } + + /** + * Sets the value of the uuid property. + * + * @param value allowed object is {@link String } + */ + public void setUuid(final String value) { + this.uuid = value; + } + +}