Examples of ModelDescription


Examples of com.asakusafw.dmdl.thundergate.model.ModelDescription

                            target.name,
                            dependency);
                    return false;
                }
            } else {
                ModelDescription resolved = repository.find(dependency.token);
                if (resolved == null) {
                    LOG.error("{}は依存先の{}が見つからないため、変換に失敗しました",
                            target.name,
                            dependency);
                    success = false;
View Full Code Here

Examples of com.asakusafw.dmdl.thundergate.model.ModelDescription

        Map<Name, ModelDescription> context = Maps.create();
        List<ModelDescription> analyzed = Lists.create();
        for (CreateView view : sorted) {
            LOG.info("ビューの構造を解析しています: {}", view.name);
            ModelDescription model = transform(view, repository, context);
            context.put(view.name, model);
            if (model != null) {
                analyzed.add(model);
            }
        }
View Full Code Here

Examples of com.asakusafw.modelgen.model.ModelDescription

        Map<Name, ModelDescription> context =
            new HashMap<Name, ModelDescription>();
        List<ModelDescription> analyzed = new ArrayList<ModelDescription>();
        for (View view : sorted) {
            LOG.info("ビューの構造を解析しています: {}", view.ast.name);
            ModelDescription model = transform(view, repository, context);
            context.put(view.ast.name, model);
            if (model != null) {
                analyzed.add(model);
            }
        }
View Full Code Here

Examples of com.asakusafw.modelgen.model.ModelDescription

                            target.name,
                            dependency);
                    return false;
                }
            } else {
                ModelDescription resolved = repository.find(dependency.token);
                if (resolved == null) {
                    LOG.error("{}は依存先の{}が見つからないため、変換に失敗しました",
                            target.name,
                            dependency);
                    success = false;
View Full Code Here

Examples of org.oasis.wsrp.v1.ModelDescription

         {
            requiresRegistration = Boolean.TRUE;
            log.debug("Producer '" + producerId + "' requires registration");

            // check if the configured registration properties match the producer expectations
            ModelDescription regPropDescs = serviceDescription.getRegistrationPropertyDescription();
            if (regPropDescs != null)
            {
               result.setStatus(RefreshResult.Status.SUCCESS);
               List<PropertyDescription> propertyDescriptions = regPropDescs.getPropertyDescriptions();
               if (propertyDescriptions != null && !propertyDescriptions.isEmpty())
               {
                  Map<String, RegistrationProperty> descriptionsMap = getRegistrationPropertyDescriptionsFromWSRP(propertyDescriptions);

                  // check that we don't have unexpected registration properties and if so, mark them as invalid or remove them
View Full Code Here

Examples of org.oasis.wsrp.v1.ModelDescription

         PortletPropertyDescriptionResponse propertyDescs = originatingProducer.getPropertyDescriptionsFor(portletHandle);
         Map<String, PreferenceInfo> prefInfos = null;

         if (propertyDescs != null)
         {
            ModelDescription modelDesc = propertyDescs.getModelDescription();
            if (modelDesc != null)
            {
               List<PropertyDescription> descs = modelDesc.getPropertyDescriptions();
               if (descs != null)
               {
                  prefInfos = new HashMap<String, PreferenceInfo>(descs.size());
                  for (PropertyDescription desc : descs)
                  {
View Full Code Here

Examples of org.oasis.wsrp.v2.ModelDescription

      {
         // initialize if needed
         initIfNeeded();

         // only add registration properties if we asked for them
         ModelDescription registrationProperties = needsRegistrationProperties ? this.registrationProperties : null;

         // set the service description details
         ServiceDescription serviceDescription = WSRPTypeFactory.createServiceDescription(false);
         serviceDescription.setRequiresInitCookie(BEA_8_CONSUMER_FIX);
         serviceDescription.getSupportedOptions().addAll(OPTIONS);
View Full Code Here

Examples of org.oasis.wsrp.v2.ModelDescription

         {
            requiresRegistration = Boolean.TRUE;
            log.debug("Producer '" + producerId + "' requires registration");

            // check if the configured registration properties match the producer expectations
            ModelDescription regPropDescs = serviceDescription.getRegistrationPropertyDescription();
            if (regPropDescs != null)
            {
               result.setStatus(RefreshResult.Status.SUCCESS);
               List<PropertyDescription> propertyDescriptions = regPropDescs.getPropertyDescriptions();
               if (propertyDescriptions != null && !propertyDescriptions.isEmpty())
               {
                  Map<QName, RegistrationProperty> descriptionsMap = getRegistrationPropertyDescriptionsFromWSRP(propertyDescriptions);

                  // check that we don't have unexpected registration properties and if so, mark them as invalid or remove them
View Full Code Here

Examples of org.oasis.wsrp.v2.ModelDescription

         PortletPropertyDescriptionResponse propertyDescs = originatingProducer.getPropertyDescriptionsFor(portletHandle);
         Map<String, PreferenceInfo> prefInfos = null;

         if (propertyDescs != null)
         {
            ModelDescription modelDesc = propertyDescs.getModelDescription();
            if (modelDesc != null)
            {
               List<PropertyDescription> descs = modelDesc.getPropertyDescriptions();
               if (descs != null)
               {
                  prefInfos = new HashMap<String, PreferenceInfo>(descs.size());
                  for (PropertyDescription desc : descs)
                  {
View Full Code Here

Examples of org.oasis.wsrp.v2.ModelDescription

   public static ModelDescription toV2ModelDescription(V1ModelDescription v1ModelDescription)
   {
      if (v1ModelDescription != null)
      {
         ModelDescription result = WSRPTypeFactory.createModelDescription(WSRPUtils.transform(v1ModelDescription.getPropertyDescriptions(), PROPERTYDESCRIPTION));
         List<Extension> extensions = WSRPUtils.transform(v1ModelDescription.getExtensions(), EXTENSION);
         if (extensions != null)
         {
            result.getExtensions().addAll(extensions);
         }
         result.setModelTypes(toV2ModelTypes(v1ModelDescription.getModelTypes()));

         return result;
      }
      else
      {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.