Package org.jboss.jca.common.api.metadata.ra

Examples of org.jboss.jca.common.api.metadata.ra.XsdString


   {

      if (inputMd instanceof Connector15Impl)
      {
         Connector15Impl input15 = (Connector15Impl) inputMd;
         XsdString newResourceadapterVersion = XsdString.isNull(this.resourceadapterVersion)
               ? input15.resourceadapterVersion : this.resourceadapterVersion;
         XsdString newEisType = XsdString.isNull(this.eisType) ? input15.eisType : this.eisType;
         List<Icon> newIcons = MergeUtil.mergeList(this.icon, input15.icon);
         LicenseType newLicense = this.license == null ? input15.license : this.license.merge(input15.license);
         List<LocalizedXsdString> newDescriptions = MergeUtil.mergeList(this.description,
               input15.description);
         List<LocalizedXsdString> newDisplayNames = MergeUtil.mergeList(this.displayName,
               input15.displayName);
         XsdString newVendorName = XsdString.isNull(this.vendorName)
               ? input15.vendorName : this.vendorName;;
         ResourceAdapter1516 newResourceadapter = this.resourceadapter == null
               ? (ResourceAdapter1516) input15.resourceadapter
               : ((ResourceAdapter1516) this.resourceadapter)
                     .merge((ResourceAdapter1516) input15.resourceadapter);
View Full Code Here


   public Connector16Impl(String moduleName, XsdString vendorName, XsdString eisType, XsdString resourceadapterVersion,
         LicenseType license, ResourceAdapter1516 resourceadapter, List<String> requiredWorkContexts,
         boolean metadataComplete, List<LocalizedXsdString> description, List<LocalizedXsdString> displayNames,
         List<Icon> icons, String id)
   {
      this(new XsdString(moduleName, null), vendorName, eisType, resourceadapterVersion, license,
            resourceadapter, null, metadataComplete, description, displayNames, icons, id);
      if (requiredWorkContexts != null)
      {
         this.requiredWorkContexts = new ArrayList<XsdString>(requiredWorkContexts.size());
         for (String wc : requiredWorkContexts)
            this.requiredWorkContexts.add(new XsdString(wc, null, Connector16.Tag.REQUIRED_WORK_CONTEXT.toString()));
      }
      else
      {
         this.requiredWorkContexts = new ArrayList<XsdString>(0);
      }
View Full Code Here

   {

      if (inputMd instanceof Connector16Impl)
      {
         Connector16Impl input16 = (Connector16Impl) inputMd;
         XsdString newResourceadapterVersion = XsdString.isNull(this.resourceadapterVersion)
               ? input16.resourceadapterVersion
               : this.resourceadapterVersion;
         XsdString newEisType = XsdString.isNull(this.eisType) ? input16.eisType : this.eisType;
         List<XsdString> newRequiredWorkContexts = MergeUtil.mergeList(this.requiredWorkContexts,
               input16.requiredWorkContexts);
         XsdString newModuleName = this.moduleName == null ? input16.moduleName : this.moduleName;
         List<Icon> newIcons = MergeUtil.mergeList(this.icon, input16.icon);
         boolean newMetadataComplete = this.metadataComplete || input16.metadataComplete;
         LicenseType newLicense = this.license == null ? input16.license : this.license.merge(input16.license);
         List<LocalizedXsdString> newDescriptions = MergeUtil.mergeList(this.description, input16.description);
         List<LocalizedXsdString> newDisplayNames = MergeUtil.mergeList(this.displayName, input16.displayName);
         XsdString newVendorName = XsdString.isNull(this.vendorName) ? input16.vendorName : this.vendorName;;
         ResourceAdapter1516 newResourceadapter = this.resourceadapter == null
               ? (ResourceAdapter1516) input16.resourceadapter
               : ((ResourceAdapter1516) this.resourceadapter).merge((ResourceAdapter1516) input16.resourceadapter);
         return new Connector16Impl(newModuleName, newVendorName, newEisType, newResourceadapterVersion, newLicense,
               newResourceadapter, newRequiredWorkContexts, newMetadataComplete, newDescriptions, newDisplayNames,
View Full Code Here

   }

   @Override
   public CopyableMetaData copy()
   {
      XsdString newResourceadapterVersion = CopyUtil.clone(this.resourceadapterVersion);
      XsdString newEisType = XsdString.isNull(this.eisType) ? null : (XsdString) this.eisType.copy();
      List<XsdString> newRequiredWorkContexts = CopyUtil.cloneList(this.requiredWorkContexts);
      XsdString newModuleName = CopyUtil.clone(this.moduleName);
      List<Icon> newIcons = CopyUtil.cloneList(this.icon);
      boolean newMetadataComplete = this.metadataComplete;
      LicenseType newLicense = CopyUtil.clone(this.license);
      List<LocalizedXsdString> newDescriptions = CopyUtil.cloneList(this.description);
      List<LocalizedXsdString> newDisplayNames = CopyUtil.cloneList(this.displayName);
      XsdString newVendorName = CopyUtil.clone(this.vendorName);
      ResourceAdapter1516 newResourceadapter = CopyUtil.clone((ResourceAdapter1516) this.resourceadapter);
      return new Connector16Impl(newModuleName, newVendorName, newEisType, newResourceadapterVersion, newLicense,
            newResourceadapter, newRequiredWorkContexts, newMetadataComplete, newDescriptions, newDisplayNames,
            newIcons, CopyUtil.cloneString(id));
   }
View Full Code Here

    */
   public ResourceAdapter1516Impl(String resourceadapterClass, List<? extends ConfigProperty> configProperties,
         OutboundResourceAdapter outboundResourceadapter, InboundResourceAdapter inboundResourceadapter,
         List<AdminObject> adminobjects, List<SecurityPermission> securityPermissions, String id)
   {
      this(new XsdString(resourceadapterClass, null), configProperties, outboundResourceadapter,
            inboundResourceadapter, adminobjects, securityPermissions, id);
   }
View Full Code Here

               inputRA.securityPermissions);
         List<? extends ConfigProperty> newConfigProperties = MergeUtil.mergeConfigList(this.configProperties,
               inputRA.configProperties);
         List<AdminObject> newAdminobjects = MergeUtil.mergeList(this.adminobjects, inputRA.adminobjects);
         String newId = this.id == null ? inputRA.id : this.id;
         XsdString newResourceadapterClass = XsdString.isNull(this.resourceadapterClass)
               ? inputRA.resourceadapterClass
               : this.resourceadapterClass;
         return new ResourceAdapter1516Impl(newResourceadapterClass, newConfigProperties, newOutboundResourceadapter,
               newInboundResourceadapter, newAdminobjects, newSecurityPermission, newId);
      }
View Full Code Here

      if (jmd instanceof ResourceAdapter10Impl)
      {
         ResourceAdapter10Impl inputMD = (ResourceAdapter10Impl) jmd;
         List<ConfigProperty> newconfigProperties = MergeUtil
            .mergeList(this.configProperties, inputMD.configProperties);
         XsdString newManagedConnectionFactoryClass = XsdString.isNull(this.managedConnectionFactoryClass)
            ? inputMD.managedConnectionFactoryClass
            : this.managedConnectionFactoryClass;
         XsdString newconnectionInterface = XsdString.isNull(this.connectionInterface)
            ? inputMD.connectionInterface
            : this.connectionInterface;
         List<AuthenticationMechanism> newauthenticationMechanism = MergeUtil.mergeList(this.authenticationMechanism,
            inputMD.authenticationMechanism);
         Boolean newreauthenticationSupport = this.reauthenticationSupport == null
            ? inputMD.reauthenticationSupport
            : this.reauthenticationSupport;
         TransactionSupportEnum newtransactionSupport = this.transactionSupport == null
            ? inputMD.transactionSupport
            : this.transactionSupport;
         XsdString newconnectionImplClass = XsdString.isNull(this.connectionImplClass)
            ? inputMD.connectionImplClass
            : this.connectionImplClass;
         XsdString newConnectionFactoryInterface = XsdString.isNull(this.connectionFactoryInterface)
            ? inputMD.connectionFactoryInterface
            : this.connectionFactoryInterface;
         List<SecurityPermission> newsecurityPermissions = MergeUtil.mergeList(this.securityPermissions,
            inputMD.securityPermissions);
         XsdString newconnectionFactoryImplClass = XsdString.isNull(this.connectionFactoryImplClass)
            ? inputMD.connectionFactoryImplClass
            : this.connectionFactoryImplClass;
         return new ResourceAdapter10Impl(newManagedConnectionFactoryClass, newConnectionFactoryInterface,
                                          newconnectionFactoryImplClass, newconnectionInterface,
                                          newconnectionImplClass, newtransactionSupport, newauthenticationMechanism,
View Full Code Here

   public Connector10Impl(XsdString vendorName, XsdString eisType, XsdString resourceadapterVersion,
         LicenseType license, ResourceAdapter resourceadapter, List<LocalizedXsdString> description,
         List<LocalizedXsdString> displayName, List<Icon> icon, String id)
   {
      this(vendorName, eisType, resourceadapterVersion, license, resourceadapter, description,
            displayName, icon, id, new XsdString("1.0", null));
   }
View Full Code Here

   {

      if (inputMd instanceof Connector10Impl)
      {
         Connector10Impl input10 = (Connector10Impl) inputMd;
         XsdString newResourceadapterVersion = XsdString.isNull(this.version) ? input10.version : this.version;
         XsdString newEisType = XsdString.isNull(this.eisType) ? input10.eisType : this.eisType;
         List<Icon> newIcons = MergeUtil.mergeList(this.icon, input10.icon);
         LicenseType newLicense = this.license == null ? input10.license : this.license.merge(input10.license);
         List<LocalizedXsdString> newDescriptions = MergeUtil.mergeList(this.description, input10.description);
         List<LocalizedXsdString> newDisplayNames = MergeUtil.mergeList(this.displayName, input10.displayName);
         XsdString newVendorName = XsdString.isNull(this.vendorName) ? input10.vendorName : this.vendorName;;
         ResourceAdapter10 newResourceadapter = this.resourceadapter == null
               ? (ResourceAdapter10) input10.resourceadapter
               : ((ResourceAdapter10) this.resourceadapter).merge((ResourceAdapter10) input10.resourceadapter);
         return new Connector10Impl(newVendorName, newEisType, newResourceadapterVersion, newLicense,
               newResourceadapter, newDescriptions, newDisplayNames, newIcons, null);
View Full Code Here

   {
      LicenseType license = null;
      String id = reader.getAttributeValue(null, Connector10.Attribute.ID.getLocalName());;
      ArrayList<Icon> icon = new ArrayList<Icon>();
      ArrayList<LocalizedXsdString> description = new ArrayList<LocalizedXsdString>();
      XsdString eisType = NULL_XSDSTRING;
      ResourceAdapter10 resourceadapter = null;
      XsdString vendorName = NULL_XSDSTRING;
      ArrayList<LocalizedXsdString> displayName = new ArrayList<LocalizedXsdString>();
      XsdString resourceadapterVersion = NULL_XSDSTRING;
      XsdString specVersion = NULL_XSDSTRING;
      while (reader.hasNext())
      {
         switch (reader.nextTag())
         {
            case END_ELEMENT : {
View Full Code Here

TOP

Related Classes of org.jboss.jca.common.api.metadata.ra.XsdString

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.