You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by mn...@apache.org on 2009/11/05 00:48:42 UTC
svn commit: r832913 [1/12] - in
/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was:
./ v6/ v6/common/ v6/commonbnd/ v6/ecore/ v6/ejb/ v6/ejbbnd/ v6/java/
v6/webservice/ v6/webservice/clientbnd/ v6/wsclient/ v6/xmi/
Author: mnour
Date: Wed Nov 4 23:48:38 2009
New Revision: 832913
URL: http://svn.apache.org/viewvc?rev=832913&view=rev
Log:
OPENEJB-1074: Finished all JAXB annotated generated Java classed for the binding WAS deployment plan.
Added:
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/CompatibilityDescriptionGroup.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Description.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/DescriptionGroup.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/DisplayName.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EJBLocalRef.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EjbRef.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EjbRefEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EnvEntry.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EnvEntryEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/IconType.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Identity.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/JNDIEnvRefsGroup.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Listener.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestination.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestinationRef.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestinationUsageEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ObjectFactory.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ParamValue.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/QName.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ResAuthEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ResSharingScopeEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ResourceEnvRef.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ResourceRef.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/RunAsSpecifiedIdentity.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/SecurityIdentity.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/SecurityRole.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/SecurityRoleRef.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/UseCallerIdentity.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/package-info.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/AbstractAuthData.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/BasicAuthData.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/EjbRefBinding.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/MessageDestinationRefBinding.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/ObjectFactory.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/Property.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/ResourceEnvRefBinding.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/ResourceRefBinding.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/commonbnd/package-info.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAnnotation.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EAttribute.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClass.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EClassifier.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EDataType.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EEnumLiteral.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EFactory.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EModelElement.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ENamedElement.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EObject.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EOperation.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EPackage.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EParameter.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EReference.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStringToStringMapEntry.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/EStructuralFeature.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ETypedElement.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/ObjectFactory.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ecore/package-info.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AcknowledgeModeEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfig.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfigProperty.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AssemblyDescriptor.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/CMPAttribute.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/CMRField.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ContainerManagedEntity.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/DestinationEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBJar.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBMethodCategory.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBRelation.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBRelationshipRole.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EnterpriseBean.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Entity.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ExcludeList.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MessageDriven.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MessageDrivenDestination.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MethodElement.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MethodElementEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MethodPermission.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MethodTransaction.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MultiplicityEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ObjectFactory.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Query.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/QueryMethod.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Relationships.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ReturnTypeMappingEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/RoleSource.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Session.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/SessionEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/SubscriptionDurabilityEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/TransactionAttributeEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/TransactionEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/package-info.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/CMPConnectionFactoryBinding.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/CMPResAuthEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/EJBJarBinding.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/EnterpriseBeanBinding.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/MessageDrivenBeanBinding.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/ObjectFactory.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/package-info.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/ArrayType.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Block.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Comment.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Field.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Initializer.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaClass.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaDataType.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaEvent.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaPackage.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaParameter.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaParameterEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/JavaVisibilityEnum.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Method.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/ObjectFactory.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/Statement.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/TypeKind.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/package-info.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/webservice/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/webservice/clientbnd/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/webservice/clientbnd/ObjectFactory.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/webservice/clientbnd/ServiceRefBinding.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/webservice/clientbnd/package-info.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ComponentScopedRefs.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/Handler.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ObjectFactory.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/PortComponentRef.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ServiceRef.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/WebServicesClient.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/package-info.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Add.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Any.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Delete.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Difference.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Documentation.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Extension.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Import.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/MetaModel.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Model.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/ObjectFactory.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/PackageReference.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Replace.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/XMI.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/package-info.java
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/CompatibilityDescriptionGroup.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/CompatibilityDescriptionGroup.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/CompatibilityDescriptionGroup.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/CompatibilityDescriptionGroup.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,144 @@
+/**
+ * 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.common;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for CompatibilityDescriptionGroup complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="CompatibilityDescriptionGroup">
+ * <complexContent>
+ * <extension base="{common.xmi}DescriptionGroup">
+ * <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="largeIcon" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="smallIcon" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CompatibilityDescriptionGroup")
+public class CompatibilityDescriptionGroup extends DescriptionGroup {
+
+ @XmlAttribute
+ protected String description;
+ @XmlAttribute
+ protected String displayName;
+ @XmlAttribute
+ protected String largeIcon;
+ @XmlAttribute
+ protected String smallIcon;
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the displayName property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * Sets the value of the displayName property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setDisplayName(String value) {
+ this.displayName = value;
+ }
+
+ /**
+ * Gets the value of the largeIcon property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLargeIcon() {
+ return largeIcon;
+ }
+
+ /**
+ * Sets the value of the largeIcon property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLargeIcon(String value) {
+ this.largeIcon = value;
+ }
+
+ /**
+ * Gets the value of the smallIcon property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getSmallIcon() {
+ return smallIcon;
+ }
+
+ /**
+ * Sets the value of the smallIcon property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setSmallIcon(String value) {
+ this.smallIcon = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Description.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Description.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Description.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Description.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,324 @@
+/**
+ * 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.common;
+
+import java.util.ArrayList;
+import java.util.List;
+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 org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ *
+ * @since J2EE1.4 The description type is used by a description element to
+ * provide text describing the parent element. The elements that use this
+ * type should include any information that the Deployment Component's
+ * Deployment File file producer wants to provide to the consumer of the
+ * Deployment Component's Deployment File (i.e., to the Deployer).
+ * Typically, the tools used by such a Deployment File consumer will
+ * display the description when processing the parent element that
+ * contains the description.
+ *
+ * The lang attribute defines the language that the description is
+ * provided in. The default value is "en" (English).
+ *
+ *
+ * <p>
+ * Java class for Description complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType name="Description">
+ * <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="lang" 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 = "Description", propOrder = { "extensions" })
+public class Description {
+
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extensions;
+ @XmlAttribute
+ protected String lang;
+ @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>
+ * 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>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getExtensions().add(newItem);
+ * </pre>
+ *
+ *
+ * <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 lang property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLang() {
+ return lang;
+ }
+
+ /**
+ * Sets the value of the lang property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLang(String value) {
+ this.lang = 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(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(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(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(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(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(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(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(String value) {
+ this.uuid = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/DescriptionGroup.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/DescriptionGroup.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/DescriptionGroup.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/DescriptionGroup.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,371 @@
+/**
+ * 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.common;
+
+import java.util.ArrayList;
+import java.util.List;
+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 org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ *
+ * @since J2EE1.4 This group keeps the usage of the contained description
+ * related elements consistent across J2EE deployment descriptors.
+ *
+ *
+ * <p>
+ * Java class for DescriptionGroup complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType name="DescriptionGroup">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="icons" type="{common.xmi}IconType"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="displayNames" type="{common.xmi}DisplayName"/>
+ * </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 = "DescriptionGroup", propOrder = { "icons", "displayNames",
+ "descriptions", "extensions" })
+public class DescriptionGroup {
+
+ protected List<IconType> icons;
+ protected List<DisplayName> displayNames;
+ 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 icons property.
+ *
+ * <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 icons property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getIcons().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list {@link IconType }
+ *
+ *
+ */
+ public List<IconType> getIcons() {
+ if (icons == null) {
+ icons = new ArrayList<IconType>();
+ }
+ return this.icons;
+ }
+
+ /**
+ * Gets the value of the displayNames property.
+ *
+ * <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 displayNames property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getDisplayNames().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DisplayName }
+ *
+ *
+ */
+ public List<DisplayName> getDisplayNames() {
+ if (displayNames == null) {
+ displayNames = new ArrayList<DisplayName>();
+ }
+ return this.displayNames;
+ }
+
+ /**
+ * Gets the value of the descriptions property.
+ *
+ * <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>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getDescriptions().add(newItem);
+ * </pre>
+ *
+ *
+ * <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>
+ * 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>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getExtensions().add(newItem);
+ * </pre>
+ *
+ *
+ * <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(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(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(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(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(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(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(String value) {
+ this.uuid = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/DisplayName.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/DisplayName.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/DisplayName.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/DisplayName.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,331 @@
+/**
+ * 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.common;
+
+import java.util.ArrayList;
+import java.util.List;
+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 org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ *
+ * @since J2EE1.4 The display-name type contains a short name that is intended
+ * to be displayed by tools. It is used by display-name elements. The
+ * display name need not be unique.
+ *
+ * Example:
+ *
+ * ...
+ *
+ * <pre>
+ * <?xml version="1.0" encoding="UTF-8"?><display-name xmlns:com.ibm.etools.j2ee.common="common.xmi" xmlns:com.ibm.etools.webservice.wsclient="webservice_client.xmi" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:org.eclipse.jem.java="java.xmi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en">
+ *
+ * Employee Self Service
+ *
+ * </display-name>
+ * </pre>
+ *
+ *
+ * The value of the xml:lang attribute is "en" (English) by default.
+ *
+ *
+ * <p>
+ * Java class for DisplayName complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType name="DisplayName">
+ * <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="lang" 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 = "DisplayName", propOrder = { "extensions" })
+public class DisplayName {
+
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extensions;
+ @XmlAttribute
+ protected String lang;
+ @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>
+ * 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>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getExtensions().add(newItem);
+ * </pre>
+ *
+ *
+ * <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 lang property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLang() {
+ return lang;
+ }
+
+ /**
+ * Sets the value of the lang property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLang(String value) {
+ this.lang = 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(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(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(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(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(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(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(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(String value) {
+ this.uuid = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EJBLocalRef.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EJBLocalRef.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EJBLocalRef.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EJBLocalRef.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,108 @@
+/**
+ * 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.common;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ *
+ * @since J2EE1.3 The ejb-local-refType is used by ejb-local-ref elements for
+ * the declaration of a reference to an enterprise bean's local home. The
+ * declaration consists of:
+ *
+ * - an optional description - the EJB reference name used in the code of
+ * the Deployment Component that's referencing the enterprise bean - the
+ * expected type of the referenced enterprise bean - the expected local
+ * home and local interfaces of the referenced enterprise bean - optional
+ * ejb-link information, used to specify the referenced enterprise bean
+ *
+ *
+ * <p>
+ * Java class for EJBLocalRef complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType name="EJBLocalRef">
+ * <complexContent>
+ * <extension base="{common.xmi}EjbRef">
+ * <attribute name="local" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="localHome" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EJBLocalRef")
+public class EJBLocalRef extends EjbRef {
+
+ @XmlAttribute
+ protected String local;
+ @XmlAttribute
+ protected String localHome;
+
+ /**
+ * Gets the value of the local property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLocal() {
+ return local;
+ }
+
+ /**
+ * Sets the value of the local property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLocal(String value) {
+ this.local = value;
+ }
+
+ /**
+ * Gets the value of the localHome property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLocalHome() {
+ return localHome;
+ }
+
+ /**
+ * Sets the value of the localHome property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLocalHome(String value) {
+ this.localHome = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EjbRef.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EjbRef.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EjbRef.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EjbRef.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,453 @@
+/**
+ * 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.common;
+
+import java.util.ArrayList;
+import java.util.List;
+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 org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ *
+ * The ejb-refType is used by ejb-ref elements for the declaration of a
+ * reference to an enterprise bean's home. The declaration consists of:
+ *
+ * - an optional description - the EJB reference name used in the code of the
+ * Deployment Component that's referencing the enterprise bean - the expected
+ * type of the referenced enterprise bean - the expected home and remote
+ * interfaces of the referenced enterprise bean - optional ejb-link information,
+ * used to specify the referenced enterprise bean
+ *
+ *
+ * <p>
+ * Java class for EjbRef complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EjbRef">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <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 name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="home" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="link" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="remote" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="type" type="{common.xmi}EjbRefType" />
+ * <attribute ref="{http://www.omg.org/XMI}id"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EjbRef", propOrder = { "descriptions", "extensions" })
+public class EjbRef {
+
+ protected List<Description> descriptions;
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extensions;
+ @XmlAttribute
+ protected String description;
+ @XmlAttribute
+ protected String home;
+ @XmlAttribute
+ protected String link;
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute
+ protected String remote;
+ @XmlAttribute(name = "type")
+ protected EjbRefEnum ejbRefType;
+ @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 descriptions property.
+ *
+ * <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>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getDescriptions().add(newItem);
+ * </pre>
+ *
+ *
+ * <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>
+ * 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>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getExtensions().add(newItem);
+ * </pre>
+ *
+ *
+ * <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 description property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the home property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getHome() {
+ return home;
+ }
+
+ /**
+ * Sets the value of the home property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setHome(String value) {
+ this.home = value;
+ }
+
+ /**
+ * Gets the value of the link property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLink() {
+ return link;
+ }
+
+ /**
+ * Sets the value of the link property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLink(String value) {
+ this.link = value;
+ }
+
+ /**
+ * 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(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the remote property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getRemote() {
+ return remote;
+ }
+
+ /**
+ * Sets the value of the remote property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setRemote(String value) {
+ this.remote = value;
+ }
+
+ /**
+ * Gets the value of the ejbRefType property.
+ *
+ * @return possible object is {@link EjbRefEnum }
+ *
+ */
+ public EjbRefEnum getEjbRefType() {
+ return ejbRefType;
+ }
+
+ /**
+ * Sets the value of the ejbRefType property.
+ *
+ * @param value
+ * allowed object is {@link EjbRefEnum }
+ *
+ */
+ public void setEjbRefType(EjbRefEnum value) {
+ this.ejbRefType = 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(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(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(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(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(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(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(String value) {
+ this.uuid = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EjbRefEnum.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EjbRefEnum.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EjbRefEnum.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EjbRefEnum.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,66 @@
+/**
+ * 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.common;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+/**
+ * <p>
+ * Java class for EjbRefType.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p>
+ *
+ * <pre>
+ * <simpleType name="EjbRefType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
+ * <enumeration value="Session"/>
+ * <enumeration value="Entity"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlEnum
+public enum EjbRefEnum {
+
+ @XmlEnumValue("Session")
+ SESSION("Session"), @XmlEnumValue("Entity")
+ ENTITY("Entity");
+ private final String value;
+
+ EjbRefEnum(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EjbRefEnum fromValue(String v) {
+ for (EjbRefEnum c : EjbRefEnum.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v.toString());
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EnvEntry.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EnvEntry.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EnvEntry.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EnvEntry.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,403 @@
+/**
+ * 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.common;
+
+import java.util.ArrayList;
+import java.util.List;
+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 org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ *
+ * The env-entryType is used to declare an application's environment entry. The
+ * declaration consists of an optional description, the name of the environment
+ * entry, and an optional value. If a value is not specified, one must be
+ * supplied during deployment.
+ *
+ * It is used by env-entry elements.
+ *
+ *
+ * <p>
+ * Java class for EnvEntry complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="EnvEntry">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <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 name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="type" type="{common.xmi}EnvEntryType" />
+ * <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 = "EnvEntry", propOrder = { "descriptions", "extensions" })
+public class EnvEntry {
+
+ protected List<Description> descriptions;
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extensions;
+ @XmlAttribute
+ protected String description;
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute(name = "type")
+ protected EnvEntryEnum envEntryType;
+ @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 descriptions property.
+ *
+ * <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>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getDescriptions().add(newItem);
+ * </pre>
+ *
+ *
+ * <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>
+ * 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>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getExtensions().add(newItem);
+ * </pre>
+ *
+ *
+ * <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 description property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * 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(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the envEntryType property.
+ *
+ * @return possible object is {@link EnvEntryEnum }
+ *
+ */
+ public EnvEntryEnum getEnvEntryType() {
+ return envEntryType;
+ }
+
+ /**
+ * Sets the value of the envEntryType property.
+ *
+ * @param value
+ * allowed object is {@link EnvEntryEnum }
+ *
+ */
+ public void setEnvEntryType(EnvEntryEnum value) {
+ this.envEntryType = 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(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(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(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(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(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(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(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(String value) {
+ this.uuid = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EnvEntryEnum.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EnvEntryEnum.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EnvEntryEnum.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/EnvEntryEnum.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,80 @@
+/**
+ * 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.common;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+/**
+ * <p>
+ * Java class for EnvEntryType.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p>
+ *
+ * <pre>
+ * <simpleType name="EnvEntryType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
+ * <enumeration value="String"/>
+ * <enumeration value="Integer"/>
+ * <enumeration value="Boolean"/>
+ * <enumeration value="Double"/>
+ * <enumeration value="Byte"/>
+ * <enumeration value="Short"/>
+ * <enumeration value="Long"/>
+ * <enumeration value="Float"/>
+ * <enumeration value="Character"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlEnum
+public enum EnvEntryEnum {
+
+ @XmlEnumValue("String")
+ STRING("String"), @XmlEnumValue("Integer")
+ INTEGER("Integer"), @XmlEnumValue("Boolean")
+ BOOLEAN("Boolean"), @XmlEnumValue("Double")
+ DOUBLE("Double"), @XmlEnumValue("Byte")
+ BYTE("Byte"), @XmlEnumValue("Short")
+ SHORT("Short"), @XmlEnumValue("Long")
+ LONG("Long"), @XmlEnumValue("Float")
+ FLOAT("Float"), @XmlEnumValue("Character")
+ CHARACTER("Character");
+ private final String value;
+
+ EnvEntryEnum(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnvEntryEnum fromValue(String v) {
+ for (EnvEntryEnum c : EnvEntryEnum.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v.toString());
+ }
+
+}