code: public ManagedEntity[] getChildEntity() throws InvalidProperty, RuntimeFault, RemoteException {
          ManagedObjectReference[] mors = (ManagedObjectReference[]) getCurrentProperty("childEntity");
          ;
  
          if (mors == null) {
              return new ManagedEntity[]{};
          }
  
          ManagedEntity[] mes = new ManagedEntity[mors.length];
          for (int i = 0; i < mors.length; i++) {
              mes[i] = MorUtil.createExactManagedEntity(getServerConnection(), mors[i]);
          }
          return mes;
      }
docs: the array could have different real types, therefore cannot use getManagedObjects()