Package nexj.core.runtime

Examples of nexj.core.runtime.SerializablePropertyMap


      {
         obj = instance.getValueDirect(m_variablesAttribute.getOrdinal());

         if (obj instanceof SerializablePropertyMap)
         {
            SerializablePropertyMap map = (SerializablePropertyMap)obj;

            column = ((RelationalPrimitiveMapping)mapping.getAttributeMapping(m_serializedVariablesAttribute)).getColumn();
            sqlWork = (SQLWork)work;

            if (sqlWork.getTable() == column.getTable())
            {
               if (column.getType().equals(Primitive.STRING))
               {
                  sqlWork.setInstanceValue(column, map.serializeValues(instance.getUnitOfWork().getInvocationContext()));
               }
               else
               {
                  sqlWork.setInstanceValue(column, map.serializeValuesToBinary(instance.getUnitOfWork().getInvocationContext()));
               }
            }
         }
      }
   }
View Full Code Here


            instance.setValue("object", (list == null || list.isEmpty()) ? null : list.get(0));
         }
         else if (sName.equals("values"))
         {
            SerializablePropertyMap map = new GenericSerializablePropertyMap(GenericSerializablePropertyMap.LEAVE);

            map.deserializeValues((String)instance.getValue("serializedValues"), m_context);
            instance.setValue("values", map);
         }
         else if (sName.equals("objectCaption"))
         {
            StringBuffer buf = new StringBuffer(64);
View Full Code Here

         String sName = attributes.getHead().toString();

         if (sName.equals("body") || sName.equals("values"))
         {
            SerializablePropertyMap map = new GenericSerializablePropertyMap(GenericSerializablePropertyMap.LEAVE);

            map.deserializeValues((String)instance.getValue("serializedValues"), m_context);
            instance.setValue("values", map);
            instance.setValue("body", map.findValue("body"));
         }
      }
   }
View Full Code Here

TOP

Related Classes of nexj.core.runtime.SerializablePropertyMap

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.