public static function createDataStorageWithType($type)
 {
     if ($type == 'class') {
         $object = DataModelFactory::createDataObject('RemoteClassStorage');
     } else {
         if ($type == 'meta') {
             $object = DataModelFactory::createDataObject('RemotePropertyStorage');
         } else {
             if ($type == 'object') {
                 $object = DataModelFactory::createDataObject('RemoteObjectStorage');
             } else {
                 if ($type == 'resource') {
                     $object = DataModelFactory::createDataObject('RemoteResourceStorage');
                 } else {
                     $object = null;
                 }
             }
         }
     }
     return $object;
 }
 public static function createDataObjectWithType($type)
 {
     if ($type == 'class') {
         $object = DataModelFactory::createDataObject('ClassName');
     } else {
         if ($type == 'meta') {
             $object = DataModelFactory::createDataObject('Property');
         } else {
             if ($type == 'object') {
                 $object = DataModelFactory::createDataObject('Object');
             } else {
                 if ($type == 'resource') {
                     $object = DataModelFactory::createDataObject('Resource');
                 } else {
                     $object = null;
                 }
             }
         }
     }
     return $object;
 }