Package org.jboss.system.server.profileservice.persistence.xml

Examples of org.jboss.system.server.profileservice.persistence.xml.PersistedSimpleValue


      assertNotNull(pp);
     
      PersistedCompositeValue pcv = (PersistedCompositeValue) pp.getValue();
      assertNotNull(pcv);
     
      PersistedSimpleValue psv = (PersistedSimpleValue) pcv.getValues().get(0);
      assertEquals("domain", psv.getName());
      assertEquals("org.jboss", psv.getValue());
     
      PersistedPropertiesValue ppv = (PersistedPropertiesValue) pcv.getValues().get(1);
      assertEquals("keyPropertyList", ppv.getName());
      assertEquals(2, ppv.getEntries().size());
     
View Full Code Here


    * @param value the simple value
    * @return the simple xml meta data
    */
   protected PersistedSimpleValue createSimpleValue(SimpleValue value)
   {
      PersistedSimpleValue persistedValue = new PersistedSimpleValue();
      persistedValue.setValue(convertSimple2String(value));
      return persistedValue;
   }
View Full Code Here

    */
   protected static PersistedValue emtpyPersistedValue(MetaType metaType)
   {
      if(metaType.isSimple())
      {
         return new PersistedSimpleValue();
      }
      else if(metaType.isEnum())
      {
         return new PersistedEnumValue();
      }
View Full Code Here

TOP

Related Classes of org.jboss.system.server.profileservice.persistence.xml.PersistedSimpleValue

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.