Package org.gatein.wsrp.registration.mapping

Examples of org.gatein.wsrp.registration.mapping.RegistrationPropertyDescriptionMapping


      // description
      RegistrationPropertyDescription desc = property.getDescription();
      if (desc != null)
      {
         RegistrationPropertyDescriptionMapping rpdm = createDescription();
         setDescription(rpdm);
         rpdm.initFrom(desc);
      }
   }
View Full Code Here


      initial.setStatus(getStatus());
      initial.setLang(WSRPConstants.DEFAULT_LOCALE);
      initial.setValue(getValue());
      initial.setListener(registrationInfo); // we don't want to trigger property changes event here so set the listener after value has been set

      final RegistrationPropertyDescriptionMapping descriptionMapping = getDescription();
      if (descriptionMapping != null)
      {
         final RegistrationPropertyDescription description = descriptionMapping.toModel(null, null);
         initial.setDescription(description);
      }

      return initial;
   }
View Full Code Here

      rpdms.clear();

      // then add the new ones if any
      for (RegistrationPropertyDescription desc : registrationRequirements.getRegistrationProperties().values())
      {
         RegistrationPropertyDescriptionMapping rpdm = createRegistrationPropertyDescription(desc.getNameAsString());

         // attach first to parent, then init
         rpdms.add(rpdm);
         rpdm.initFrom(desc);
      }

      setLastModified(registrationRequirements.getLastModified());
   }
View Full Code Here

TOP

Related Classes of org.gatein.wsrp.registration.mapping.RegistrationPropertyDescriptionMapping

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.